From 77b3d369658af3eecc3c344dc49f629aea1d5464 Mon Sep 17 00:00:00 2001 From: Chris Carini <6374067+ChrisCarini@users.noreply.github.com> Date: Mon, 3 Apr 2023 07:39:12 -0700 Subject: [PATCH] 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 6829f49b5d694..3afdef4ba9b47 100644 --- a/doc/source/whatsnew/v2.0.0.rst +++ b/doc/source/whatsnew/v2.0.0.rst @@ -717,7 +717,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)