Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Msgpack - ValueError: buffer source array is read-only #11880
Comments
|
pls pd.show_versions() |
|
replace |
|
Output of pd.show_versions() INSTALLED VERSIONScommit: None pandas: 0.17.1 |
jreback
added Bug Msgpack
labels
Dec 26, 2015
jreback
added this to the
Next Major Release
milestone
Dec 26, 2015
jreback
added Difficulty Intermediate Effort Low
labels
Dec 26, 2015
|
I think we need to tell numpy to take ownership of the data, maybe
|
kawochen
referenced
this issue
Jan 10, 2016
Merged
BUG: GH11880 where __contains__ fails in unpacked DataFrame with object cols #12013
|
|
ikilledthecat commentedDec 21, 2015
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