Skip to content

DOC: fix a few typos in the User Guide #60884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/source/user_guide/groupby.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ You can also include the grouping columns if you want to operate on them.

.. note::

The ``groupby`` operation in Pandas drops the ``name`` field of the columns Index object
The ``groupby`` operation in pandas drops the ``name`` field of the columns Index object
after the operation. This change ensures consistency in syntax between different
column selection methods within groupby operations.

Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ Thousand separators

For large numbers that have been written with a thousands separator, you can
set the ``thousands`` keyword to a string of length 1 so that integers will be parsed
correctly:
correctly.

By default, numbers with a thousands separator will be parsed as strings:

Expand Down
4 changes: 2 additions & 2 deletions doc/source/user_guide/merging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ A string argument to ``indicator`` will use the value as the name for the indica
Overlapping value columns
~~~~~~~~~~~~~~~~~~~~~~~~~

The merge ``suffixes`` argument takes a tuple of list of strings to append to
The merge ``suffixes`` argument takes a tuple or list of strings to append to
overlapping column names in the input :class:`DataFrame` to disambiguate the result
columns:

Expand Down Expand Up @@ -979,7 +979,7 @@ nearest key rather than equal keys. For each row in the ``left`` :class:`DataFra
the last row in the ``right`` :class:`DataFrame` are selected where the ``on`` key is less
than the left's key. Both :class:`DataFrame` must be sorted by the key.

Optionally an :func:`merge_asof` can perform a group-wise merge by matching the
Optionally :func:`merge_asof` can perform a group-wise merge by matching the
``by`` key in addition to the nearest match on the ``on`` key.

.. ipython:: python
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/scale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Scaling to large datasets
*************************

pandas provides data structures for in-memory analytics, which makes using pandas
to analyze datasets that are larger than memory datasets somewhat tricky. Even datasets
to analyze datasets that are larger than memory somewhat tricky. Even datasets
that are a sizable fraction of memory become unwieldy, as some pandas operations need
to make intermediate copies.

Expand Down
4 changes: 2 additions & 2 deletions doc/source/user_guide/timeseries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ the pandas objects.
ts = ts[:5]
ts.shift(1)

The ``shift`` method accepts an ``freq`` argument which can accept a
The ``shift`` method accepts a ``freq`` argument which can accept a
``DateOffset`` class or other ``timedelta``-like object or also an
:ref:`offset alias <timeseries.offset_aliases>`.

Expand Down Expand Up @@ -2570,7 +2570,7 @@ because daylight savings time (DST) in a local time zone causes some times to oc
twice within one day ("clocks fall back"). The following options are available:

* ``'raise'``: Raises a ``ValueError`` (the default behavior)
* ``'infer'``: Attempt to determine the correct offset base on the monotonicity of the timestamps
* ``'infer'``: Attempt to determine the correct offset based on the monotonicity of the timestamps
* ``'NaT'``: Replaces ambiguous times with ``NaT``
* ``bool``: ``True`` represents a DST time, ``False`` represents non-DST time. An array-like of ``bool`` values is supported for a sequence of times.

Expand Down