Skip to content

Commit

Permalink
Update pandas.py (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogaardt authored Nov 18, 2023
1 parent cbff0a8 commit ac3fa37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainladder/core/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def aggregate(i, obj, axis, v):
for i in self.groups.indices.values()
]
obj = concat(values, axis=self.axis, ignore_index=True)
group_index = pd.Index(self.groups.keys())
group_index = self.groups.first().index
if self.axis == 0:
if isinstance(group_index, pd.MultiIndex):
index = (
Expand Down

0 comments on commit ac3fa37

Please sign in to comment.