I am using dask.dataframe.to_csv to write a CSV.
I was expecting 13 CSVs. but it writes only 2 CSVs (rewriting the old one which i do not want)
for i in range(13):
df_temp=df1.groupby("temp").get_group(unique_cases[i])
df_temp.to_csv(path_store_csv+"*.csv")
I also tried this but it did not work:
for i in range(13):
df_temp=df1.groupby("temp").get_group(unique_cases[i])
df_temp.to_csv("to/my/path"+str(i)+".csv")
this creates 13 folders in which 2 CSVs are there (completely wrong)
In pandas Pandas DataFrames in a loop, df.to_csv() we can do like this. Is it possible to do with Dask?
Thanks in advance