From 6c3997ea3a367e0a8bff2f268257e6c78b669353 Mon Sep 17 00:00:00 2001 From: Chris Carini <6374067+ChrisCarini@users.noreply.github.com> Date: Mon, 3 Apr 2023 07:44:02 -0700 Subject: [PATCH] Backport PR #52375: Adding missing single-quote --- doc/source/whatsnew/v2.0.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v2.0.0.rst b/doc/source/whatsnew/v2.0.0.rst index 2aaaefbf29a34..6365c692699b6 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -716,7 +716,7 @@ In the past, :func:`to_datetime` guessed the format for each element independent Note that this affects :func:`read_csv` as well. If you still need to parse dates with inconsistent formats, you can use -``format='mixed`` (possibly alongside ``dayfirst``) :: +``format='mixed'`` (possibly alongside ``dayfirst``) :: ser = pd.Series(['13-01-2000', '12 January 2000']) pd.to_datetime(ser, format='mixed', dayfirst=True)