Skip to content

Commit

Permalink
DOC: Edited note on index_col/parse_dates params for clarity (#59223)
Browse files Browse the repository at this point in the history
* 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?)

* Update doc/source/getting_started/intro_tutorials/04_plotting.rst

---------

Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
  • Loading branch information
pbx and mroeschke committed Jul 12, 2024
1 parent 1b6d717 commit 1165859
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/source/getting_started/intro_tutorials/04_plotting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1165859

Please sign in to comment.