We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c326643 commit b956dbfCopy full SHA for b956dbf
1 file changed
dataretrieval/waterdata/utils.py
@@ -498,6 +498,7 @@ def _get_resp_data(resp: requests.Response, geopd: bool) -> pd.DataFrame:
498
)
499
df.columns = [col.replace("properties_", "") for col in df.columns]
500
df.rename(columns={"geometry_coordinates": "geometry"}, inplace=True)
501
+ df = df.loc[:, ~df.columns.duplicated()]
502
return df
503
504
# Organize json into geodataframe and make sure id column comes along.
0 commit comments