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

use pandera schemas in accessor class #343

Open
mgdenno opened this issue Dec 5, 2024 · 0 comments
Open

use pandera schemas in accessor class #343

mgdenno opened this issue Dec 5, 2024 · 0 comments
Assignees

Comments

@mgdenno
Copy link
Contributor

mgdenno commented Dec 5, 2024

I think we should utilize the new pandera schemas for checking the dataframes in the accessor class.

Something like

import teehr.models.pandera_dataframe_schemas as schemas
schema = schemas.primary_timeseries_schema(type="pandas")
validated_df = schema.validate(df)

Could probably be addressed in metric plotting branch.

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

2 participants