to_pickle doesn't support file handles #29790
Labels
Duplicate Report
Duplicate issue or pull request
IO Data
IO issues that don't fit into a more specific label
to_pickle
supports only file names, not file handles. See: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_pickle.htmlIs there some particular reason for this?
to_csv
does support file handles so I would have expectedto_pickle
to support too.To reproduce:
The text was updated successfully, but these errors were encountered: