Skip to content

Commit

Permalink
changed empty cell condition in remove_subregions
Browse files Browse the repository at this point in the history
  • Loading branch information
markushal committed Nov 8, 2023
1 parent ac81415 commit 507dac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ptxboa_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def remove_subregions(api: PtxboaAPI, df: pd.DataFrame, settings: dict):
# do not show subregions:
region_list_without_subregions = (
api.get_dimension("region")
.loc[api.get_dimension("region")["subregion_code"].isna()]
.loc[api.get_dimension("region")["subregion_code"] == ""]
.index.to_list()
)

Expand Down

0 comments on commit 507dac1

Please sign in to comment.