From 58be0e62b9de4765e0af96ad3760e3f02757e7c1 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Thu, 1 Feb 2024 14:35:43 -0300 Subject: [PATCH] fix syntaxe warning --- map-of-activities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"