Skip to content

DOC: Improve clarity and beginner-friendly tone in table tutorial #61285

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

Closed
wants to merge 1 commit into from
Closed
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
11 changes: 6 additions & 5 deletions doc/source/getting_started/intro_tutorials/01_table_oriented.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ I want to start using pandas

import pandas as pd

To load the pandas package and start working with it, import the
package. The community agreed alias for pandas is ``pd``, so loading
To begin using pandas, you first need to import the package.The community agreed alias for pandas is ``pd``, so loading
pandas as ``pd`` is assumed standard practice for all of the pandas
documentation.

Expand Down Expand Up @@ -54,7 +53,9 @@ I want to store passenger data of the Titanic. For a number of passengers, I kno
)
df

To manually store data in a table, create a ``DataFrame``. When using a Python dictionary of lists, the dictionary keys will be used as column headers and
To manually store data in a table-like format, create a DataFrame, which is the primary data structure used in pandas.

When using a Python dictionary of lists, the dictionary keys will be used as column headers and
the values in each list as columns of the ``DataFrame``.

.. raw:: html
Expand Down Expand Up @@ -165,8 +166,8 @@ I’m interested in some basic statistics of the numerical data of my data table

df.describe()

The :func:`~DataFrame.describe` method provides a quick overview of the numerical data in
a ``DataFrame``. As the ``Name`` and ``Sex`` columns are textual data,
The describe() method gives a quick summary of the numeric columns in a DataFrame, such as count, mean, min, and max values.
As the ``Name`` and ``Sex`` columns are textual data,
these are by default not taken into account by the :func:`~DataFrame.describe` method.

.. raw:: html
Expand Down
Loading