You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first case, the name attribute on the resulting Series is set as 0, the group. In the second case, the two groups have different names and so the correct name attribute of None is on the result. The name attribute should be None in the first case as well.
The text was updated successfully, but these errors were encountered:
rhshadrach
changed the title
SeriesGroupBy.apply results in wrong name when there is a single grouper
SeriesGroupBy.apply results in wrong name when there is a single group
Mar 18, 2022
produces
In the first case, the
name
attribute on the resulting Series is set as0
, the group. In the second case, the two groups have different names and so the correctname
attribute ofNone
is on the result. Thename
attribute should beNone
in the first case as well.The text was updated successfully, but these errors were encountered: