+
Skip to content

Check for duplicate axis label when coercing measure #47

@jbousquin

Description

@jbousquin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载