pandas-msgpack icon indicating copy to clipboard operation
pandas-msgpack copied to clipboard

Storing Dataframes that contain Decimal

Open n00bmind opened this issue 6 years ago • 0 comments

What's the recommended approach when serializing Dataframes containing columns of Decimal type?

Right now I'm just getting a "can't serialize Decimal" error, so I was thinking of following the approach described in https://github.com/msgpack/msgpack-python#packingunpacking-of-custom-data-type and just convert my Decimal to/from strings.

Is this something that will be supported in the future? It seems to me extending support to Decimal types would be very convenient to Pandas users..

n00bmind avatar Jul 20 '19 08:07 n00bmind