-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"object of type 'pickle.PickleBuffer' has no len()" error with large numpy arrays #23
Comments
Thanks for reporting this @PaulFlanaganGenscape! From the PR that you linked, it looks like protocol 5 is breaking something. Could you try if When I find some time, I'll port the solution that the pandas team did over on their PR here. |
yes, you're right. It works with
|
I'm having the same problem pickling a Pandas DataFrame. Switching to protocol=4 makes it work. |
Closed by #26 |
It's a similar bug of https://bugs.python.org/issue44439 |
I get
object of type 'pickle.PickleBuffer' has no len()
error for any compression other thangzip
if data contains a large numpy arrayIt works for small numpy arrays
I'm pretty sure it's same issue as pandas-dev/pandas#39376
small numpy array
The text was updated successfully, but these errors were encountered: