inefficient data load (urgh)
This commit is contained in:
parent
872744c682
commit
8e5b475a01
|
@ -269,7 +269,8 @@ if __name__ == '__main__' :
|
|||
if 'file' in args :
|
||||
reader = lambda: pd.read_csv(args['file']) ;
|
||||
else:
|
||||
reader = lambda: Components().get(args)
|
||||
_df = Components().get(args)
|
||||
reader = lambda: _df
|
||||
args['reader'] = reader
|
||||
|
||||
if 'generate' in SYS_ARGS :
|
||||
|
|
Loading…
Reference in New Issue