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

date_parser in pd.read_ in data.py #33

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

inkenbrandt
Copy link
Contributor

Attempts to address #32 where a future warning is thrown for the parse_dates argument in pd.read_csv

Switched to pd.to_datetime() after import instead.

May have to add a errors='coerce' argument in the pd.to_datetime() function to address parsing errors in datetime data.

Attempts to address Open-ET#32 
where a future warning is thrown for the `date_parser` argument in pd.read_csv

Switched to pd.to_datetime() after import instead.
@JohnVolk JohnVolk merged commit 8a9dffc into Open-ET:master Apr 1, 2024
JohnVolk added a commit that referenced this pull request Apr 1, 2024
* Add date format string to fluxnet_config file
* add date format option to pd.to_datetime function following #33 change
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.

2 participants