irmen / pickle

Java and .NET implementation of Python's pickle serialization protocol
MIT License
80 stars 6 forks source link

seems cannot load compressed file #4

Closed BlueD closed 3 years ago

BlueD commented 3 years ago

I'm using pandas, save a dataframe with 'xz' compression.

df.to_pickle("abc.pickle", compression="xz")

and dotnet version threw an exception.

Unhandled exception. Razorvine.Pickle.InvalidOpcodeException: invalid pickle opcode: 253