diff --git a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst b/doc/source/getting_started/intro_tutorials/01_table_oriented.rst index 7e86ad6c499d9..b9bc72e34b8fc 100644 --- a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst +++ b/doc/source/getting_started/intro_tutorials/01_table_oriented.rst @@ -26,7 +26,7 @@ documentation. -pandas data table representation +Pandas representation of Data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. image:: ../../_static/schemas/01_table_dataframe.svg @@ -55,7 +55,13 @@ 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 -the values in each list as columns of the ``DataFrame``. +the values in each list as columns of the ``DataFrame``. +.. note:: + + Each DataFrame has an *index*, which uniquely identifies each row. + By default, it appears as the leftmost label in the table. + For more about the index, see :ref:`user_guide/indexing`. + .. raw:: html @@ -70,7 +76,7 @@ SQL table or the ``data.frame`` in `R `__. - The table has 3 columns, each of them with a column label. The column labels are respectively ``Name``, ``Age`` and ``Sex``. - The column ``Name`` consists of textual data with each value a - string, the column ``Age`` are numbers and the column ``Sex`` is + string, the column ``Age`` contains numbers and the column ``Sex`` contains textual data. In spreadsheet software, the table representation of our data would look @@ -220,3 +226,7 @@ A more extended explanation of ``DataFrame`` and ``Series`` is provided in the : .. raw:: html + .. tip:: + + You can select rows by index using ``df.loc[index]`` or ``df.iloc[position]``. +