Skip to content

Commit ad9fac6

Browse files
committed
Change index name
1 parent 4379fe3 commit ad9fac6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/groupby/test_timegrouper.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,6 @@ def test_grouper_period_index(self):
780780
result = period_serie.groupby(period_serie.index.month).sum()
781781

782782
expected = pd.Series(
783-
range(0, periods),
784-
index=Index(range(1, periods + 1), name=period_serie.index.name),
783+
range(0, periods), index=Index(range(1, periods + 1), name=index.name),
785784
)
786785
tm.assert_series_equal(result, expected)

0 commit comments

Comments
 (0)