Skip to content

Commit a5eb59f

Browse files
committed
Observed = True as suggested here pandas-dev/pandas#30552
1 parent 8e30a49 commit a5eb59f

File tree

1 file changed

+1
-1
lines changed
  • cbmcfs3_runner/post_processor

1 file changed

+1
-1
lines changed

cbmcfs3_runner/post_processor/ipcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def pool_indicators_long(self):
7272
index = self.parent.classifiers_names
7373
index = index + ['ipcc_pool', 'time_step', 'year']
7474
df = (df
75-
.groupby(index)
75+
.groupby(index, observed=True)
7676
.agg({'tc':sum})
7777
.reset_index()
7878
)

0 commit comments

Comments
 (0)