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

DeprecationWarning #139

Open
olivierNyp opened this issue Oct 2, 2023 · 0 comments
Open

DeprecationWarning #139

olivierNyp opened this issue Oct 2, 2023 · 0 comments

Comments

@olivierNyp
Copy link

olivierNyp commented Oct 2, 2023

I'm getting the following error:

DeprecationWarning: In a future version, df.iloc[:, i] = newvalswill attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use eitherdf[df.columns[i]] = newvalsor, if columns are non-unique,df.isetitem(i, newvals)`

When i remove this part from the file loader.py the problem is no longer occuring. I'm using meteostat version 1.6.7

# Force datetime conversion # if coerce_dates: # df.iloc[:, parse_dates] = df.iloc[:, parse_dates].apply( # pd.to_datetime, errors="coerce" # )

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