From 2dab74c6098f0d6161cbd26050076ce7b1998598 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Sat, 13 Jun 2020 13:32:01 -0700 Subject: [PATCH] typo: rows -> columns I'm new to pandas and reading the docs for the first time. By my reading of the first part of this paragraph, there's a dictionary of lists and the lists are `["Braund...", "Allen...", ...]`, `[22, 35, 58]`, and `["male", "male", "female"]`. The original sentence says: "... and the values in each list as rows of the DataFrame", but the values in the first list (`["Baund...]`) are the values in the first **column** of the illustration. Likewas the list `[22,...]` is the second column and `["male",...]` is the third. --- .../getting_started/intro_tutorials/01_table_oriented.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 9ee3bfc3b8e79..dc9bec2284aab 100644 --- a/doc/source/getting_started/intro_tutorials/01_table_oriented.rst +++ b/doc/source/getting_started/intro_tutorials/01_table_oriented.rst @@ -51,7 +51,7 @@ 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 rows of the ``DataFrame``. +the values in each list as columns of the ``DataFrame``. .. raw:: html @@ -215,4 +215,4 @@ A more extended explanation to ``DataFrame`` and ``Series`` is provided in the : .. raw:: html - \ No newline at end of file +