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

implement timezone agnostic polars_engine.DateTime type #1589

Merged
merged 1 commit into from
Apr 19, 2024
Merged

Conversation

cosmicBboy
Copy link
Collaborator

@cosmicBboy cosmicBboy commented Apr 19, 2024

Fixes #1543

This PR allows you to specify a timezone-agnostic DateTime type:

import pandera as pa
from pandera.engines.polars_engine import DateTime

schema = pa.DataFrameSchema({"col": pa.Column(DateTime(time_zone_agnostic=True))})

Signed-off-by: cosmicBboy <niels.bantilan@gmail.com>
@cosmicBboy cosmicBboy merged commit c1e7c06 into main Apr 19, 2024
66 checks passed
@cosmicBboy cosmicBboy deleted the feat/1543 branch April 19, 2024 15:02
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

Successfully merging this pull request may close these issues.

Validating datetime columns regardless of timezone
1 participant