Skip to content

Commit

Permalink
Merge pull request #3 from ananiavito/fix_typos_userguide
Browse files Browse the repository at this point in the history
DOC: Fix typos in User Guide
  • Loading branch information
ananiavito committed Jun 18, 2024
2 parents ee05885 + b798a2c commit 7caad89
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/source/user_guide/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ For instance:
This method does not convert the row to a Series object; it merely
returns the values inside a namedtuple. Therefore,
:meth:`~DataFrame.itertuples` preserves the data type of the values
and is generally faster as :meth:`~DataFrame.iterrows`.
and is generally faster than :meth:`~DataFrame.iterrows`.

.. note::

Expand Down
8 changes: 4 additions & 4 deletions doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3003,7 +3003,7 @@ However, if XPath does not reference node names such as default, ``/*``, then
.. note::

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

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

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

.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/missing_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ Missing values propagate through arithmetic operations between pandas objects.
The descriptive statistics and computational methods discussed in the
:ref:`data structure overview <basics.stats>` (and listed :ref:`here
<api.series.stats>` and :ref:`here <api.dataframe.stats>`) are all
<api.series.stats>` and :ref:`here <api.dataframe.stats>`) all
account for missing data.

When summing data, NA values or empty data will be treated as zero.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Options and settings

Overview
--------
pandas has an options API configure and customize global behavior related to
pandas has an options API to configure and customize global behavior related to
:class:`DataFrame` display, data behavior and more.

Options have a full "dotted-style", case-insensitive name (e.g. ``display.max_rows``).
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/timeseries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ or some other non-observed day. Defined observance rules are:
"after_nearest_workday", "apply ``nearest_workday`` and then move to next workday after that day"
"sunday_to_monday", "move Sunday to following Monday"
"next_monday_or_tuesday", "move Saturday to Monday and Sunday/Monday to Tuesday"
"previous_friday", move Saturday and Sunday to previous Friday"
"previous_friday", "move Saturday and Sunday to previous Friday"
"next_monday", "move Saturday and Sunday to following Monday"
"weekend_to_monday", "same as ``next_monday``"

Expand Down

0 comments on commit 7caad89

Please sign in to comment.