diff --git a/map-of-activities.py b/map-of-activities.py index e8d85dd..8340bcf 100644 --- a/map-of-activities.py +++ b/map-of-activities.py @@ -70,7 +70,7 @@ def get_original_data(layer): df["dataset_id"] = datasetid df["short_name"] = meta["url"].split("=")[-1] df["short_name_group"] = ( - df["short_name"].replace("\d", "", regex=True).str.rstrip("_") + df["short_name"].replace(r"\d", "", regex=True).str.rstrip("_") ) df["url"] = meta["url"].replace( "https://www1.usgs.gov/obis-usa/ipt", "https://ipt-obis.gbif.us"