#!/usr/bin/env python
# coding: utf-8

# In[ ]:


import io
import os
import pandas as pd
import numpy as np
from plotly.offline import plot
from plotly.offline import iplot
import plotly.graph_objs as go
import cufflinks as cf
cf.go_offline()
#function 1: Checkbox 1
def func_1(x):
    return a[a.C == "|"] #it will print those value from col C which have the value |

#function 2: drop down list
def func_2(b):
    return  a[(self.a["A"]==b)]     #it will print the rows of only selected value 
            
print(func_2("USER SELECTED VALUE FROM DROP DOWN LIST"))    

#function 3: checkbox
###visualize the data 
def func_3(y):
        return a[["D","C"]].iplot() #using iplot it will visualize the col D and C 
print(func_3(a))


# In[ ]:




