pandera
pandera copied to clipboard
Make `pydantic` and `typeguard` extras for pandas generic type support
Currently, pydantic
and typeguard
are being used in pandas_engine.py
to implement support for generic types via the PythonGenericType
datatype: https://github.com/unionai-oss/pandera/blob/main/pandera/engines/pandas_engine.py#L1347.
Consider making this either: a soft dependency such that the types are only available if these packages are available, or adding an additional extra to pandera, i.e. pip install 'pandera[generics]
or something to that effect.