Skip to content

Commit d0b6f7d

Browse files
Add note about DataFrame index and column labels
Added a note explaining index and column labels in DataFrame and provided the
1 parent c8213d1 commit d0b6f7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ pandas data table representation
3636

3737
<ul class="task-bullet">
3838
<li>
39+
.. note::
40+
41+
The diagram shows that each row has an **index label** (0, 1, 2, ...),
42+
and each column has a **column label** (Name, Age).
43+
A single column of a DataFrame is a Series, which also has row labels.
44+
More about indexes can be found in the
45+
`indexing guide <https://pandas.pydata.org/docs/user_guide/indexing.html>`_.
3946

4047
I want to store passenger data of the Titanic. For a number of passengers, I know the name (characters), age (integers) and sex (male/female) data.
4148

0 commit comments

Comments
 (0)