Skip to content

Commit 80e6225

Browse files
committed
changed test
1 parent 00329f3 commit 80e6225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_grouping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ def test_groupby_any_with_timedelta():
11871187
df = DataFrame({"value": [pd.Timedelta(1), pd.NaT]})
11881188

11891189
# Perform groupby().any() operation
1190-
result = df.groupby(np.array([0, 1]))["value"].any()
1190+
result = df.groupby([0, 1])["value"].any()
11911191

11921192
# Expected result: group with NaT should return False
11931193
expected = Series({0: True, 1: False}, name="value")

0 commit comments

Comments
 (0)