From 09968252f2d58e3a4a53a3da469d0d6ab8652733 Mon Sep 17 00:00:00 2001 From: Paul Bissex Date: Wed, 10 Jul 2024 14:18:01 -0400 Subject: [PATCH 1/2] Edited note on index_col/parse_dates params for clarity (The sentence as it stands is missing a verb; maybe the result of an editing mishap?) --- doc/source/getting_started/intro_tutorials/04_plotting.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/source/getting_started/intro_tutorials/04_plotting.rst b/doc/source/getting_started/intro_tutorials/04_plotting.rst index 49cf7d32e0ef5..18f6830d74ead 100644 --- a/doc/source/getting_started/intro_tutorials/04_plotting.rst +++ b/doc/source/getting_started/intro_tutorials/04_plotting.rst @@ -32,8 +32,10 @@ How do I create plots in pandas? air_quality.head() .. note:: - The usage of the ``index_col`` and ``parse_dates`` parameters of the ``read_csv`` function to define the first (0th) column as - index of the resulting ``DataFrame`` and convert the dates in the column to :class:`Timestamp` objects, respectively. + The ``index_col=0`` and ``parse_dates=True`` parameters passed to the ``read_csv`` function define + the first (0th) column as index of the resulting ``DataFrame`` and convert the dates in the column + to :class:`Timestamp` objects, respectively. + .. raw:: html From 027cca41619497bb52e3901bd8aca2471d690e7f Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Thu, 11 Jul 2024 09:17:11 -0700 Subject: [PATCH 2/2] Update doc/source/getting_started/intro_tutorials/04_plotting.rst --- doc/source/getting_started/intro_tutorials/04_plotting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started/intro_tutorials/04_plotting.rst b/doc/source/getting_started/intro_tutorials/04_plotting.rst index 18f6830d74ead..e9f83c602d086 100644 --- a/doc/source/getting_started/intro_tutorials/04_plotting.rst +++ b/doc/source/getting_started/intro_tutorials/04_plotting.rst @@ -32,7 +32,7 @@ How do I create plots in pandas? air_quality.head() .. note:: - The ``index_col=0`` and ``parse_dates=True`` parameters passed to the ``read_csv`` function define + The ``index_col=0`` and ``parse_dates=True`` parameters passed to the ``read_csv`` function define the first (0th) column as index of the resulting ``DataFrame`` and convert the dates in the column to :class:`Timestamp` objects, respectively.