From f1df0c683d1947964d15c20c8e64bd363bea86b0 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Wed, 18 May 2022 19:05:48 +0200 Subject: [PATCH] Remove call to deprecated 'append' method --- probabilistic-analysis/csv_to_shp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/probabilistic-analysis/csv_to_shp.py b/probabilistic-analysis/csv_to_shp.py index 0cb0096..3b36b23 100644 --- a/probabilistic-analysis/csv_to_shp.py +++ b/probabilistic-analysis/csv_to_shp.py @@ -67,7 +67,7 @@ for f in file_list: east, north = g.from_chainage(ch) row['easting'] = east.round(3) row['northing'] = north.round(3) - df = df.append(row, ignore_index=True) + df = pd.concat([df, pd.DataFrame([row])]) # Convert floats to int for col in ['block', 'profile', 'year']: