Skip to content

Commit 97e42d9

Browse files
DOC: Improve clarity and beginner-friendly tone in table tutorial
1 parent 38dd653 commit 97e42d9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/source/getting_started/intro_tutorials/01_table_oriented.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ I want to start using pandas
1616
1717
import pandas as pd
1818
19-
To load the pandas package and start working with it, import the
20-
package. The community agreed alias for pandas is ``pd``, so loading
19+
To begin using pandas, you first need to import the package.The community agreed alias for pandas is ``pd``, so loading
2120
pandas as ``pd`` is assumed standard practice for all of the pandas
2221
documentation.
2322

@@ -54,7 +53,9 @@ I want to store passenger data of the Titanic. For a number of passengers, I kno
5453
)
5554
df
5655
57-
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
56+
To manually store data in a table-like format, create a DataFrame, which is the primary data structure used in pandas.
57+
58+
When using a Python dictionary of lists, the dictionary keys will be used as column headers and
5859
the values in each list as columns of the ``DataFrame``.
5960

6061
.. raw:: html
@@ -165,8 +166,8 @@ I’m interested in some basic statistics of the numerical data of my data table
165166
166167
df.describe()
167168
168-
The :func:`~DataFrame.describe` method provides a quick overview of the numerical data in
169-
a ``DataFrame``. As the ``Name`` and ``Sex`` columns are textual data,
169+
The describe() method gives a quick summary of the numeric columns in a DataFrame, such as count, mean, min, and max values.
170+
As the ``Name`` and ``Sex`` columns are textual data,
170171
these are by default not taken into account by the :func:`~DataFrame.describe` method.
171172

172173
.. raw:: html

0 commit comments

Comments
 (0)