NTNU-IndEcol / df_file_interchange

File interchange code to consistently save and reload Pandas dataframes with metadata.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bug: `_serialize_element()` leaving numpy scalars as they are, which yaml thinks are binary #6

Closed EsmeMaxwell closed 7 months ago

EsmeMaxwell commented 7 months ago

When presented with a numpy scalar, YAML encodes it not as an integer but as a binary pickle. Need to cast to int.