Skip to content

Commit 060eaac

Browse files
authored
WARN fixup warning in pandas/tests/apply/test_frame_apply.py (#50299)
fix up warning in pandas/tests/apply/test_frame_apply.py
1 parent 70eef55 commit 060eaac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/apply/test_frame_apply.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,8 @@ def test_with_dictlike_columns_with_datetime():
836836
df["author"] = ["X", "Y", "Z"]
837837
df["publisher"] = ["BBC", "NBC", "N24"]
838838
df["date"] = pd.to_datetime(
839-
["17-10-2010 07:15:30", "13-05-2011 08:20:35", "15-01-2013 09:09:09"]
839+
["17-10-2010 07:15:30", "13-05-2011 08:20:35", "15-01-2013 09:09:09"],
840+
dayfirst=True,
840841
)
841842
result = df.apply(lambda x: {}, axis=1)
842843
expected = Series([{}, {}, {}])

0 commit comments

Comments
 (0)