Skip to content

Commit

Permalink
coops: Remove pandas FutureWarning for concatenating all NaN columns
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Dec 13, 2023
1 parent 7a2316f commit 338a955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searvey/coops.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def coops_stations(station_status: StationStatus | None = None) -> GeoDataFrame:

stations = pandas.concat(
(
active_stations[~active_stations.index.isin(discontinued_stations.index)],
active_stations[~active_stations.index.isin(discontinued_stations.index)].drop(columns="removed"), # fmt: skip
discontinued_stations,
)
)
Expand Down

0 comments on commit 338a955

Please sign in to comment.