From 9f4f974ac3b4b8bfd5ca228dcdbf72a43bf27636 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Fri, 27 Oct 2023 10:01:57 -0700 Subject: [PATCH] Typo --- pandas/tests/groupby/test_apply.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/groupby/test_apply.py b/pandas/tests/groupby/test_apply.py index 601a47a120b44..2f2648b9293c5 100644 --- a/pandas/tests/groupby/test_apply.py +++ b/pandas/tests/groupby/test_apply.py @@ -70,7 +70,7 @@ def test_apply_index_date(): 1.40649, ], }, - index=Index(pd.to_datetime(ts, name="date_time")), + index=Index(pd.to_datetime(ts), name="date_time"), ) expected = df.groupby(df.index.date).idxmax() result = df.groupby(df.index.date).apply(lambda x: x.idxmax())