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

Check for duplicate axis label when coercing measure #47

Open
jbousquin opened this issue Oct 11, 2023 · 0 comments
Open

Check for duplicate axis label when coercing measure #47

jbousquin opened this issue Oct 11, 2023 · 0 comments

Comments

@jbousquin
Copy link
Collaborator

Specifically the error is:
ValueError: cannot reindex on an axis with duplicate labels

And comes up for GOM Phosphorus in _coerce_measure():
df_out[self.out_col] = meas_s

It occurs where geopandas is trying to re-index, this geopandas version has a relevant deprecation warning:
~lib\site-packages\geopandas\geodataframe.py:1443: FutureWarning: reindexing with a non-unique Index is deprecated and will raise in a future version.

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