inefficient data load (urgh)

This commit is contained in:
Steve Nyemba 2020-03-06 13:27:03 -06:00
parent 872744c682
commit 8e5b475a01
1 changed files with 2 additions and 1 deletions

View File

@ -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 :