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

Suggest using pandera to enforce strict datatypes for database/dataframe inputs and transformations. #3

Open
sgjholt opened this issue Sep 1, 2024 · 1 comment

Comments

@sgjholt
Copy link

sgjholt commented Sep 1, 2024

This will allow you to create data models that check and enforce strict datatypes for your database api. An end user will be able to easily understand what datatypes your models expect to be present. It should make for a better user experience and encourage people to use the database api.
 
https://pandera.readthedocs.io/en/stable/pydantic_integration.html

@sgjholt
Copy link
Author

sgjholt commented Sep 1, 2024

This will be especially helpful if you decide to allow end users to supply their own arbitrary data processing functions, via the database api.

@sgjholt sgjholt changed the title Use pandera to enforce strict datatypes for database/dataframe inputs and transformations Suggest: Use pandera to enforce strict datatypes for database/dataframe inputs and transformations Sep 1, 2024
@sgjholt sgjholt changed the title Suggest: Use pandera to enforce strict datatypes for database/dataframe inputs and transformations Suggest using pandera to enforce strict datatypes for database/dataframe inputs and transformations. Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant