From 6417649cf770af95fedffb45656a633f59f6ad55 Mon Sep 17 00:00:00 2001 From: ananiavito <48645073+ananiavito@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:35:56 +0100 Subject: [PATCH 1/7] DOC: fix typo in scale.rst The word "datasets" was needlessly repeated. --- doc/source/user_guide/scale.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/scale.rst b/doc/source/user_guide/scale.rst index 29df2994fbc35..d12993f7ead4b 100644 --- a/doc/source/user_guide/scale.rst +++ b/doc/source/user_guide/scale.rst @@ -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. From d3927b097b2173d05b58e658e87059db3b48c031 Mon Sep 17 00:00:00 2001 From: ananiavito <48645073+ananiavito@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:39:15 +0100 Subject: [PATCH 2/7] DOC: Fix typo in timeseries.rst --- doc/source/user_guide/timeseries.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 4299dca4774b9..2fa455574fff8 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -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. From 61b1b7f8b8ae0e5e32eb4051dc17f214f01214f7 Mon Sep 17 00:00:00 2001 From: ananiavito <48645073+ananiavito@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:40:54 +0100 Subject: [PATCH 3/7] DOC: Fix typo in timeseries.rst --- doc/source/user_guide/timeseries.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 2fa455574fff8..d046d13f71daf 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -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 `. From 61c891d004d0d88acb7830ceb8fab3f7889e6d9b Mon Sep 17 00:00:00 2001 From: ananiavito <48645073+ananiavito@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:44:55 +0100 Subject: [PATCH 4/7] DOC: Fix typo in groupby.rst pandas was uppercase --- doc/source/user_guide/groupby.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/groupby.rst b/doc/source/user_guide/groupby.rst index 4a32381a7de47..4ec34db6ed959 100644 --- a/doc/source/user_guide/groupby.rst +++ b/doc/source/user_guide/groupby.rst @@ -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. From 48e9d8266cefdcac8eacfc1da416def95a858822 Mon Sep 17 00:00:00 2001 From: ananiavito <48645073+ananiavito@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:47:28 +0100 Subject: [PATCH 5/7] DOC: Fix typo in merging.rst --- doc/source/user_guide/merging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/merging.rst b/doc/source/user_guide/merging.rst index cfd2f40aa93a3..6fbdb802721d9 100644 --- a/doc/source/user_guide/merging.rst +++ b/doc/source/user_guide/merging.rst @@ -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 From a76b1bfc9075942dcc5adbd2bdf116ec82e2d837 Mon Sep 17 00:00:00 2001 From: ananiavito <48645073+ananiavito@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:51:03 +0100 Subject: [PATCH 6/7] DOC: Fix typo in merging.rst --- doc/source/user_guide/merging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/merging.rst b/doc/source/user_guide/merging.rst index 6fbdb802721d9..fb707674b4dbf 100644 --- a/doc/source/user_guide/merging.rst +++ b/doc/source/user_guide/merging.rst @@ -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: From 09a954494fc33d6e9833621e23b1d3e5779c9693 Mon Sep 17 00:00:00 2001 From: ananiavito <48645073+ananiavito@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:54:36 +0100 Subject: [PATCH 7/7] DOC: fix typo in io.rst --- doc/source/user_guide/io.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index daf323acff129..07d06f61b3fd6 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -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: