inbo / niche_vlaanderen

Python package to run the NICHE Vlaanderen model
https://inbo.github.io/niche_vlaanderen/
MIT License
5 stars 2 forks source link

Warning: "Passing list-likes to .loc or [] with any missing label" #115

Closed cecileherr closed 6 years ago

cecileherr commented 6 years ago

Niche Python Package question

I get a warning when I run a full niche model (with Grobbendonk test data) (I think this warning was already present in older versions, but the project is now ripe enough to start tackling the cosmetic issues :-) )

C:\Users\cecile_herr\AppData\Local\Continuum\anaconda3\envs\niche\lib\site-packages\pandas\core\series.py:696: FutureWarning: Passing list-likes to .loc or [] with any missing label will raise KeyError in the future, you can use .reindex() as an alternative. See the documentation here: http://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike return self.loc[key]

johanvdw commented 6 years ago

Closed in 5dfc80278203d2f