We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00329f3 commit 80e6225Copy full SHA for 80e6225
pandas/tests/groupby/test_grouping.py
@@ -1187,7 +1187,7 @@ def test_groupby_any_with_timedelta():
1187
df = DataFrame({"value": [pd.Timedelta(1), pd.NaT]})
1188
1189
# Perform groupby().any() operation
1190
- result = df.groupby(np.array([0, 1]))["value"].any()
+ result = df.groupby([0, 1])["value"].any()
1191
1192
# Expected result: group with NaT should return False
1193
expected = Series({0: True, 1: False}, name="value")
0 commit comments