Skip to content

Commit dc55803

Browse files
committed
DOC: Expand data table representation with labels and index; add link to indexing (#62358)
1 parent 1028791 commit dc55803

File tree

2 files changed

+76
-1
lines changed

2 files changed

+76
-1
lines changed
Lines changed: 64 additions & 0 deletions
Loading

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,20 @@ documentation.
2929
pandas data table representation
3030
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3131

32-
.. image:: ../../_static/schemas/01_table_dataframe.svg
32+
.. figure:: /_static/data_table_rep.svg
33+
:alt: DataFrame with column labels and row index
34+
:width: 85%
3335
:align: center
3436

37+
A :class:`pandas.DataFrame` is a 2D table. Columns are identified by their
38+
**labels** (shown across the top), and rows are identified by the **index**
39+
(shown on the left).
40+
41+
.. note::
42+
43+
The **index** labels rows and enables reliable alignment, selection and joins
44+
across objects. See :ref:`indexing` for a deeper introduction.
45+
3546
.. raw:: html
3647

3748
<ul class="task-bullet">

0 commit comments

Comments
 (0)