-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Msgpack - ValueError: buffer source array is read-only #11880
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
Comments
pls pd.show_versions() |
replace |
Output of pd.show_versions() INSTALLED VERSIONScommit: None pandas: 0.17.1 |
I think we need to tell numpy to take ownership of the data, maybe
|
|
I get the Value error when processing data using pandas. I followed the following steps:
On the third step i get ValueError: buffer source array is read-only.
This problem does not arise if I wrap the read_msgpack call inside a pandas.concat
Example
This happens with both blosc and zlib compression. While I have found a solution, this behaviour seems very odd and for very large files there is a small performance hit.
edit: @TomAugspurger changed the sql engine to sqlite
The text was updated successfully, but these errors were encountered: