Skip to content

Commit

Permalink
Bugfix SubsetsMetricsAdapter #313 (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
daberer authored Dec 4, 2024
1 parent 71f356b commit d8e51ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def calc_metrics(self, data, gpi_info):

for setname, distr in self.subsets.items():
if len(data.index) == 0:
df = pd.DataFrame()
df = data
else:
df = distr.select(data)
ds = self.cls.calc_metrics(df, gpi_info=gpi_info)
Expand Down

0 comments on commit d8e51ed

Please sign in to comment.