tested
This commit is contained in:
@@ -1875,7 +1875,9 @@ def dataprep(rowdatadf, id=0, bands=True, barchart=True, otwpower=True,
|
||||
except FileNotFoundError:
|
||||
df2 = dd.from_pandas(df, npartitions=1)
|
||||
df2.to_parquet(filename, engine='fastparquet', compression='GZIP')
|
||||
|
||||
except FileExistsError:
|
||||
os.remove(filename)
|
||||
df.to_parquet(filename, engine='fastparquet', compression='GZIP')
|
||||
return data
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user