I want to append a row to a particular partition in dask dataframes. I have tried out many methods but none of them are possible. Can anyone help me on this. Thanks in advance
I tried -
first_partition = df.partitions[0]
new_dd = first_partiton.append(row)
df.partitions[0] = new_dd
This doesn't work
I even tried to use map_partitions(), but even this function doesn't really help to get the metadata of the partition to modify a particular partition.
Is it possible to save the dataframe as parquet and modify just a particular parquet file and save it back? - I tried this, even this seems to not work.