mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Fix serialisation in pandas for payload creation

Open madhur-tandon opened this issue 3 years ago • 0 comments

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

madhur-tandon avatar Jan 15 '22 22:01 madhur-tandon