Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pydantic and typeguard extras for pandas generic type support #1577

Open
cosmicBboy opened this issue Apr 14, 2024 · 0 comments
Open

Make pydantic and typeguard extras for pandas generic type support #1577

cosmicBboy opened this issue Apr 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cosmicBboy
Copy link
Collaborator

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.

@cosmicBboy cosmicBboy added the enhancement New feature or request label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant