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']: