You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compress kwarg isn't getting passed down the chain when using pd.read_msgpack(buffer).
def read_msgpack(path_or_buf, iterator=False, **kwargs):
...
def read(fh):
l = list(unpack(fh)) (which then goes to decode() and unconvert() )
Replication:
df = pd.DataFrame([{'foo','bar'}])
packed_df = df.to_msgpack(compress='zlib')
pd.read_msgpack(packed_df, compress='zlib')
...
obj.get('compress'))
File "/Users/briford/myPVE/workbench/lib/python2.7/site-packages/pandas/io/packers.py", line 258, in unconvert
return np.fromstring(values.encode('latin1'), dtype=dtype)
ValueError: string size must be a multiple of element size
this is not implemented see #3832. welcome a pull-request to do it. Did not find that it helped all that much though (the compress was from a previous iteration of the code).
The compress kwarg isn't getting passed down the chain when using pd.read_msgpack(buffer).
Replication:
Versions:
The text was updated successfully, but these errors were encountered: