예제 #1
0
def make_crossfilter():
    """The root crossfilter controller"""
    # Loading the dft data head as a 
    # pandas dataframe
    autompg = load("francesca_data_head")
    app = CrossFilter.create(df=autompg)
    return app
예제 #2
0
def make_crossfilter():
    autompg['cyl'] = autompg['cyl'].astype(str)
    autompg['origin'] = autompg['origin'].astype(str)

    # area  = Ext()
    app = CrossFilter.create(df=autompg)#, exts={"TRY": area})#, sources={'AutoMPG': autompg, 'Flowers': df_fl})
    return app
예제 #3
0
def make_crossfilter():
    """The root crossfilter controller"""
    # Loading the dft data head as a
    # pandas dataframe
    autompg = load("francesca_data_head")
    app = CrossFilter.create(df=autompg)
    return app
예제 #4
0
def make_crossfilter():
    # autompg['cyl'] = autompg['cyl'].astype(str)
    # autompg['origin'] = autompg['origin'].astype(str)
    for col in ['INT_TIME', 'BINNING_SET', 'DUTY_CYCLE', 'MCP_VOLT',
                'LYA_CENTROID']:
        mydata[col] = mydata[col].astype(str)
    app = CrossFilter.create(df=mydata)
    return app
예제 #5
0
def make_crossfilter():
    # autompg['cyl'] = autompg['cyl'].astype(str)
    # autompg['origin'] = autompg['origin'].astype(str)
    for col in [
            'INT_TIME', 'BINNING_SET', 'DUTY_CYCLE', 'MCP_VOLT', 'LYA_CENTROID'
    ]:
        mydata[col] = mydata[col].astype(str)
    app = CrossFilter.create(df=mydata)
    return app
예제 #6
0
def make_object():
    autompg['cyl'] = autompg['cyl'].astype(str)
    autompg['origin'] = autompg['origin'].astype(str)
    app = CrossFilter.create(df=autompg)
    return app
예제 #7
0
def make_crossfilter():
    app = CrossFilter.create(df=df)
    return app
예제 #8
0
파일: cf.py 프로젝트: KartikPadmanabhan/mle
def make_crossfilter():
    app = CrossFilter.create(df=df)
    return app
예제 #9
0
def make_crossfilter():
    autompg['cyl'] = autompg['cyl'].astype(str)
    autompg['origin'] = autompg['origin'].astype(str)
    app = CrossFilter.create(df=autompg)
    return app
예제 #10
0
def test2():
    autompg['cyl'] = autompg['cyl'].astype(str)
    autompg['origin'] = autompg['origin'].astype(str)
    cross = CrossFilter.create(df=autompg)

    return cross