I am processing a huge dataset (50 million rows) in CSV. I am trying to slice it and save it as Feather Format in order to save some memory while loading the feather format later.
As a workaround, I loaded the data in chunks as CSV file and later merged it into one data frame.
This is what I have tried so far:
df[2000000:4000000].to_feather('name')
I have got the following error:
ValueError: feather does not support serializing a non-default index for the index; you can .reset_index() to make the index into column(s)
Then I tried to reset the index but still, I get the same error.
inplace=True
argument? You do not actually change your df by doingdf.reset_index()
– Visualize