Skip to content

Commit e7e6be1

Browse files
Terji Petersentopper-123
Terji Petersen
authored andcommitted
remove Int/Uint/Float64Index from pandas/tests/resample
1 parent 8209f9d commit e7e6be1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/resample/test_resampler_grouper.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
Timestamp,
1616
)
1717
import pandas._testing as tm
18-
from pandas.core.api import Int64Index
1918
from pandas.core.indexes.datetimes import date_range
2019

2120
test_frame = DataFrame(
@@ -333,7 +332,7 @@ def test_consistency_with_window():
333332

334333
# consistent return values with window
335334
df = test_frame
336-
expected = Int64Index([1, 2, 3], name="A")
335+
expected = Index([1, 2, 3], name="A")
337336
result = df.groupby("A").resample("2s").mean()
338337
assert result.index.nlevels == 2
339338
tm.assert_index_equal(result.index.levels[0], expected)

0 commit comments

Comments
 (0)