diff --git a/etrago/cluster/spatial.py b/etrago/cluster/spatial.py index a7e97f0b..1377c5ec 100755 --- a/etrago/cluster/spatial.py +++ b/etrago/cluster/spatial.py @@ -812,6 +812,6 @@ def find_buses_area(etrago, carrier): buses_area = buses_area[buses_area.carrier == carrier] else: - busmap_area = pd.DataFrame() + buses_area = pd.DataFrame() return buses_area.index