From c25f9b9d1e4b3b2107a442c995e46dbb4c7b4fad Mon Sep 17 00:00:00 2001 From: Taylor Packard <3.t.packard@gmail.com> Date: Fri, 16 Dec 2022 12:19:29 -0500 Subject: [PATCH] fix up warning in pandas/tests/apply/test_frame_apply.py --- pandas/tests/apply/test_frame_apply.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/tests/apply/test_frame_apply.py b/pandas/tests/apply/test_frame_apply.py index c28c3ae58219a..7aaad4d2ad081 100644 --- a/pandas/tests/apply/test_frame_apply.py +++ b/pandas/tests/apply/test_frame_apply.py @@ -836,7 +836,8 @@ def test_with_dictlike_columns_with_datetime(): df["author"] = ["X", "Y", "Z"] df["publisher"] = ["BBC", "NBC", "N24"] df["date"] = pd.to_datetime( - ["17-10-2010 07:15:30", "13-05-2011 08:20:35", "15-01-2013 09:09:09"] + ["17-10-2010 07:15:30", "13-05-2011 08:20:35", "15-01-2013 09:09:09"], + dayfirst=True, ) result = df.apply(lambda x: {}, axis=1) expected = Series([{}, {}, {}])