Skip to content

Commit bcbc5b2

Browse files
authored
DOC: fix typos in User Guide (#59040)
* DOC: fix two typos in User Guide io.rst * DOC: fix typo in timeseries.rst * DOC: fix typo in options.rst * DOC: fix typo in missing_data.rst * DOC: fix typo in io.rst * DOC: fix grammar error in basics.rst
1 parent b403f3c commit bcbc5b2

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

doc/source/user_guide/basics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ For instance:
16061606
This method does not convert the row to a Series object; it merely
16071607
returns the values inside a namedtuple. Therefore,
16081608
:meth:`~DataFrame.itertuples` preserves the data type of the values
1609-
and is generally faster as :meth:`~DataFrame.iterrows`.
1609+
and is generally faster than :meth:`~DataFrame.iterrows`.
16101610

16111611
.. note::
16121612

doc/source/user_guide/io.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -3003,7 +3003,7 @@ However, if XPath does not reference node names such as default, ``/*``, then
30033003
.. note::
30043004

30053005
Since ``xpath`` identifies the parent of content to be parsed, only immediate
3006-
desendants which include child nodes or current attributes are parsed.
3006+
descendants which include child nodes or current attributes are parsed.
30073007
Therefore, ``read_xml`` will not parse the text of grandchildren or other
30083008
descendants and will not parse attributes of any descendant. To retrieve
30093009
lower level content, adjust xpath to lower level. For example,
@@ -3535,7 +3535,7 @@ For example, to read in a ``MultiIndex`` index without names:
35353535
df = pd.read_excel("path_to_file.xlsx", index_col=[0, 1])
35363536
df
35373537
3538-
If the index has level names, they will parsed as well, using the same
3538+
If the index has level names, they will be parsed as well, using the same
35393539
parameters.
35403540

35413541
.. ipython:: python
@@ -5847,10 +5847,10 @@ You can check if a table exists using :func:`~pandas.io.sql.has_table`
58475847
Schema support
58485848
''''''''''''''
58495849

5850-
Reading from and writing to different schema's is supported through the ``schema``
5850+
Reading from and writing to different schemas is supported through the ``schema``
58515851
keyword in the :func:`~pandas.read_sql_table` and :func:`~pandas.DataFrame.to_sql`
58525852
functions. Note however that this depends on the database flavor (sqlite does not
5853-
have schema's). For example:
5853+
have schemas). For example:
58545854

58555855
.. code-block:: python
58565856

doc/source/user_guide/missing_data.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Missing values propagate through arithmetic operations between pandas objects.
319319
320320
The descriptive statistics and computational methods discussed in the
321321
:ref:`data structure overview <basics.stats>` (and listed :ref:`here
322-
<api.series.stats>` and :ref:`here <api.dataframe.stats>`) are all
322+
<api.series.stats>` and :ref:`here <api.dataframe.stats>`) all
323323
account for missing data.
324324

325325
When summing data, NA values or empty data will be treated as zero.

doc/source/user_guide/options.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Options and settings
88

99
Overview
1010
--------
11-
pandas has an options API configure and customize global behavior related to
11+
pandas has an options API to configure and customize global behavior related to
1212
:class:`DataFrame` display, data behavior and more.
1313

1414
Options have a full "dotted-style", case-insensitive name (e.g. ``display.max_rows``).

doc/source/user_guide/timeseries.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ or some other non-observed day. Defined observance rules are:
14791479
"after_nearest_workday", "apply ``nearest_workday`` and then move to next workday after that day"
14801480
"sunday_to_monday", "move Sunday to following Monday"
14811481
"next_monday_or_tuesday", "move Saturday to Monday and Sunday/Monday to Tuesday"
1482-
"previous_friday", move Saturday and Sunday to previous Friday"
1482+
"previous_friday", "move Saturday and Sunday to previous Friday"
14831483
"next_monday", "move Saturday and Sunday to following Monday"
14841484
"weekend_to_monday", "same as ``next_monday``"
14851485

0 commit comments

Comments
 (0)