src/jpyEDM_v0.py
def onFileImportChange( b = None ):
    '''Establish dataFrameIn : Always passed to pyEDM.
       The FileUpload widget returns a tuple of dicts ? docs seem wrong'''
    global dataFrameIn

    # Crazy unpacking of FileUpload widget return...
    fileUploadDict = Widgets['fileImport'].value
    fileNamekey    = list( fileUploadDict.keys() )[0]
    content        = fileUploadDict[ fileNamekey ][ 'content' ]
    dataFrameIn    = read_csv( BytesIO( content ) )

    UpdateArgs()
    RefreshData()

    # Crazy hack to reset the FileUpload widget counter
    Widgets['fileImport']._counter = 0
Establish dataFrameIn : Always passed to pyEDM.
       The FileUpload widget returns a tuple of dicts ? docs seem wrong
Establish dataFrameIn : Always passed to pyEDM.
The FileUpload widget returns a tuple of dicts . docs seem wrong
Establish dataFrameIn : Always passed to pyEDM . The FileUpload widget returns a tuple of dicts . docs seem wrong
def onFileImportChange( b = None ):
    global dataFrameIn
    fileUploadDict = Widgets['fileImport'].value
    fileNamekey    = list( fileUploadDict.keys() )[0]
    content        = fileUploadDict[ fileNamekey ][ 'content' ]
    dataFrameIn    = read_csv( BytesIO( content ) )
    UpdateArgs()
    RefreshData()
    Widgets['fileImport']._counter = 0
def onFileImportChange ( b = None ) : global dataFrameIn fileUploadDict = Widgets [ 'fileImport' ] . value fileNamekey = list ( fileUploadDict . keys ( ) ) [ 0 ] content = fileUploadDict [ fileNamekey ] [ 'content' ] dataFrameIn = read_csv ( BytesIO ( content ) ) UpdateArgs ( ) RefreshData ( ) Widgets [ 'fileImport' ] . _counter = 0
Establish dataFrameIn : Always passed to pyEDM.
Establish dataFrameIn : Always passed to pyEDM .
'''Establish dataFrameIn : Always passed to pyEDM.
       The FileUpload widget returns a tuple of dicts ? docs seem wrong''' # Crazy unpacking of FileUpload widget return... # Crazy hack to reset the FileUpload widget counter
b