Hey, hello.I have a dataframe with 150ish columns,...
# ask-the-community
b
Hey, hello.I have a dataframe with 150ish columns, which schema was inferred with
pandera.infer_schema
. Now, I want to build a model inference server with fastapi. The thing is, I have no way of converting
DataFrameSchema
to
SchemaModel
, so that it can be used with FastAPI and have nicely generated Swagger UI docs. Can anyoone help me convert
DataFrameSchema
to
SchemaModel
? Or get to a solution to use with FastAPI?
Otherwise, is this pattern the way to go? https://madewithml.com/courses/mlops/api/#extras
s
cc: @Niels Bantilan
n
hey @Bernardo Galvao I just mentioned this on your other message, but for pandera-specific questions please re-post this on discord! https://discord.com/invite/vyanhWuaKB I’ll see you there
k
Is this in unionml?
153 Views