<#5369 [BUG] `PanderaTransformer::to_python_value(...
# flytekit
c
#5369 [BUG] `PanderaTransformer::to_python_value()` seems to be returning an incorrect type Issue created by danieldanciu The return type of the
to_python_value
of the pandera type transformer seems incorrect. Currently, the returned type is
pandas.core.frame.DataFrame
, but the declared return type is
pandera.typing.DataFrame
. I suspect this is because instantiating
pandera.DataFrameSchema
returns a
pandas.core.frame.DataFrame
, rather than what one would normally expect, namely a
pandera.typing.DataFrame
. I will propose an MR to fix this shortly. flyteorg/flyte