https://flyte.org logo
#ask-the-community
Title
# ask-the-community
b

Bernardo Galvao

11/21/2022, 8:46 AM
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

Samhita Alla

11/21/2022, 12:41 PM
cc: @Niels Bantilan
n

Niels Bantilan

11/21/2022, 2:18 PM
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

Ketan (kumare3)

11/21/2022, 3:18 PM
Is this in unionml?
69 Views