mlem
mlem copied to clipboard
Fix serialisation in pandas for payload creation
While writing tests for fastapi, we needed to create payload for both numpy and pandas since the fixtures were parametrised. The expected column types for columns of the dataframe were str while they should have been int.
Reference: https://github.com/iterative/mlem/pull/145