Skip to content

DOC: Edited note on index_col/parse_dates params for clarity #59223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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