Skip to content

Commit 3143dd2

Browse files
author
MarcoGorelli
committed
rev
1 parent 73a909d commit 3143dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_apply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ def predictions(tool):
632632
}
633633
)
634634
df2 = df1.copy()
635-
df2.oTime = df2.oTime.apply(pd.to_datetime)
635+
df2.oTime = pd.to_datetime(df2.oTime)
636636
expected = df1.groupby("Key").apply(predictions).p1
637637
result = df2.groupby("Key").apply(predictions).p1
638638
tm.assert_series_equal(expected, result)

0 commit comments

Comments
 (0)