[Feature Request] read_pickle and to_pickle Optionally Read/Return Strings Similar to Pickle's dumps and loads #17392
Labels
Duplicate Report
Duplicate issue or pull request
IO Data
IO issues that don't fit into a more specific label
Unless I'm mistaken there's no official way of directly getting a string representation of a DataFrame. I was using cPickle's dumps and loads functions for this, but upgrading from 0.19 to 0.20 broke things. Yes, I could use Pandas' read_pickle and to_pickle functions as they are now and use the hard disk as an intermediate step, but this would hurt performance and seems unnecessarily roundabout. Having read_pickle and to_pickle optionally work with a string similar to cPickle's dumps and loads functions would be quite straightforward, no?
The text was updated successfully, but these errors were encountered: