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

require passing in date_format for date_columns #329

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

sorenmacbeth
Copy link
Contributor

@sorenmacbeth sorenmacbeth commented Dec 4, 2023

infer_datetime_format=True in to_datetime is deprecated since pandas 2.0.0 per https://pandas.pydata.org/docs/reference/api/pandas.to_datetime.html

this PR adds a new required format param to the date_columns list in config which is passed down to the to_datetime call inside of TabularDatamodule.make_date


📚 Documentation preview 📚: https://pytorch-tabular--329.org.readthedocs.build/en/329/

@sorenmacbeth sorenmacbeth force-pushed the main branch 2 times, most recently from 58ffd44 to e394458 Compare December 4, 2023 22:31
`infer_datetime_format=True` is deprecated since pandas 2.0.0
@Borda Borda requested a review from manujosephv December 6, 2023 11:11
@Borda Borda changed the title require passing in date_format for date_columns require passing in date_format for date_columns Dec 6, 2023
@manujosephv manujosephv merged commit c168ce2 into manujosephv:main Dec 6, 2023
7 checks passed
@manujosephv
Copy link
Owner

Thanks a lot @sorenmacbeth . Merging this.

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.

3 participants