From d0a3171a76b958aa5c87ec848310d35eaf814bc4 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sat, 7 Mar 2020 21:24:05 -0800 Subject: [PATCH 01/24] Initial commit --- ci/code_checks.sh | 2 +- doc/source/getting_started/comparison/comparison_with_sql.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index e6a761b91f353..73d84f2bc2f52 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -34,7 +34,7 @@ function invgrep { # # This is useful for the CI, as we want to fail if one of the patterns # that we want to avoid is found by grep. - grep -n "$@" | sed "s/^/$INVGREP_PREPEND/" | sed "s/$/$INVGREP_APPEND/" ; EXIT_STATUS=${PIPESTATUS[0]} + grep -n "$@" | sed "s/^/$INVGREP_PREPEND/" | sed "s/$/$INVGREP_APPEND/" | sed "/pandas.pydata.org/" ; EXIT_STATUS=${PIPESTATUS[0]} return $((! $EXIT_STATUS)) } diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst index 6a03c06de3699..6d5912138a624 100644 --- a/doc/source/getting_started/comparison/comparison_with_sql.rst +++ b/doc/source/getting_started/comparison/comparison_with_sql.rst @@ -75,7 +75,7 @@ Filtering in SQL is done via a WHERE clause. LIMIT 5; DataFrames can be filtered in multiple ways; the most intuitive of which is using -`boolean indexing `_. +:ref:`boolean indexing `_. .. ipython:: python From 7bd7acdee70f7be8ae8c4dc813fecf1812be10f1 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sat, 7 Mar 2020 22:12:58 -0800 Subject: [PATCH 02/24] minor change --- ci/code_checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 73d84f2bc2f52..e6a761b91f353 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -34,7 +34,7 @@ function invgrep { # # This is useful for the CI, as we want to fail if one of the patterns # that we want to avoid is found by grep. - grep -n "$@" | sed "s/^/$INVGREP_PREPEND/" | sed "s/$/$INVGREP_APPEND/" | sed "/pandas.pydata.org/" ; EXIT_STATUS=${PIPESTATUS[0]} + grep -n "$@" | sed "s/^/$INVGREP_PREPEND/" | sed "s/$/$INVGREP_APPEND/" ; EXIT_STATUS=${PIPESTATUS[0]} return $((! $EXIT_STATUS)) } From 5f5bba8d1795d2689a1ddb7ee0c9cbcfcb48889e Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sat, 7 Mar 2020 23:00:14 -0800 Subject: [PATCH 03/24] minor changes --- doc/source/getting_started/comparison/comparison_with_sql.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst index 6d5912138a624..7c3cda73edd5b 100644 --- a/doc/source/getting_started/comparison/comparison_with_sql.rst +++ b/doc/source/getting_started/comparison/comparison_with_sql.rst @@ -75,7 +75,7 @@ Filtering in SQL is done via a WHERE clause. LIMIT 5; DataFrames can be filtered in multiple ways; the most intuitive of which is using -:ref:`boolean indexing `_. +:ref:`boolean indexing `. .. ipython:: python From f4af3bdbc8e7617dc0cc4a0a0b91a978e984ffc4 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sat, 7 Mar 2020 23:57:21 -0800 Subject: [PATCH 04/24] Adding some more files --- doc/source/user_guide/cookbook.rst | 2 +- doc/source/user_guide/indexing.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index 4afdb14e5c39e..bdbafa35274c0 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -795,7 +795,7 @@ The :ref:`Resample ` docs. `__ `Valid frequency arguments to Grouper -`__ +:ref:`timeseries offset aliases ``__ `Grouping using a MultiIndex `__ diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 2bd3ff626f2e1..e06205e9f4f11 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -237,7 +237,7 @@ new column. In 0.21.0 and later, this will raise a ``UserWarning``: In [1]: df = pd.DataFrame({'one': [1., 2., 3.]}) In [2]: df.two = [4, 5, 6] - UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see https://pandas.pydata.org/pandas-docs/stable/indexing.html#attribute_access + UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`attribute accessing for Series ` In [3]: df Out[3]: one @@ -676,7 +676,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike + :ref:`deprecate loc reindex for list-likes ` Out[4]: 1 2.0 From 1110e71b561cd7c59c428aa411f5e66c71a51988 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 00:30:31 -0800 Subject: [PATCH 05/24] Adding some more files --- doc/source/user_guide/cookbook.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index bdbafa35274c0..f6de7b9073b53 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -794,8 +794,8 @@ The :ref:`Resample ` docs. `Time grouping with some missing values `__ -`Valid frequency arguments to Grouper -:ref:`timeseries offset aliases ``__ +`Valid frequency arguments to Grouper` +:ref:`timeseries offset aliases ` `Grouping using a MultiIndex `__ From 942986dda2775e7a1680485ff1def9a5e5a913f6 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 01:01:34 -0800 Subject: [PATCH 06/24] minor changes --- doc/source/user_guide/cookbook.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index f6de7b9073b53..4afdb14e5c39e 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -794,8 +794,8 @@ The :ref:`Resample ` docs. `Time grouping with some missing values `__ -`Valid frequency arguments to Grouper` -:ref:`timeseries offset aliases ` +`Valid frequency arguments to Grouper +`__ `Grouping using a MultiIndex `__ From e55cf6ab8075c2a7b6a296e1ae4c1f695927914e Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 01:33:12 -0800 Subject: [PATCH 07/24] Updating cookbook timeseries alias --- doc/source/user_guide/cookbook.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index 4afdb14e5c39e..029a4edad4f03 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -794,8 +794,7 @@ The :ref:`Resample ` docs. `Time grouping with some missing values `__ -`Valid frequency arguments to Grouper -`__ +Valid frequency arguments to Grouper: :ref:`timeseries offset aliases ` docs. `Grouping using a MultiIndex `__ From 61731e336c9425a25a96148a7a5b169546fbcd3e Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 03:08:36 -0700 Subject: [PATCH 08/24] changes to cookbook --- doc/source/user_guide/cookbook.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index 029a4edad4f03..ad209b96bae6a 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -794,7 +794,7 @@ The :ref:`Resample ` docs. `Time grouping with some missing values `__ -Valid frequency arguments to Grouper: :ref:`timeseries offset aliases ` docs. +Valid frequency arguments to Grouper :ref:`Timeseries offset aliases ` docs. `Grouping using a MultiIndex `__ From 41509b5eb8de0935856c6e9249aeec46b9a46b40 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 10:42:22 -0700 Subject: [PATCH 09/24] cookbook changes --- doc/source/user_guide/cookbook.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/cookbook.rst b/doc/source/user_guide/cookbook.rst index ad209b96bae6a..e51b5c9097951 100644 --- a/doc/source/user_guide/cookbook.rst +++ b/doc/source/user_guide/cookbook.rst @@ -794,7 +794,7 @@ The :ref:`Resample ` docs. `Time grouping with some missing values `__ -Valid frequency arguments to Grouper :ref:`Timeseries offset aliases ` docs. +Valid frequency arguments to Grouper :ref:`Timeseries ` `Grouping using a MultiIndex `__ From adbc35b6c551aacbe6fb1704a406a3e4ef09ba8c Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 12:48:34 -0700 Subject: [PATCH 10/24] Updating timeseries offset links --- pandas/core/generic.py | 4 ++-- pandas/core/groupby/grouper.py | 4 ++-- pandas/core/indexes/datetimes.py | 12 ++++++------ pandas/core/indexes/interval.py | 4 ++-- pandas/core/indexes/period.py | 4 ++-- pandas/core/indexes/timedeltas.py | 8 ++++---- pandas/core/window/rolling.py | 4 ++-- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index e6c5ac9dbf733..7f955922f9c0b 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7510,8 +7510,8 @@ def asfreq( Notes ----- - To learn more about the frequency strings, please see `this link - `__. + To learn more about the frequency strings, please see this link: + :ref:`Timeseries ` Examples -------- diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py index 21e171f937de8..d728d96e3af4d 100644 --- a/pandas/core/groupby/grouper.py +++ b/pandas/core/groupby/grouper.py @@ -53,8 +53,8 @@ class Grouper: freq : str / frequency object, defaults to None This will groupby the specified frequency if the target selection (via key or level) is a datetime-like object. For full specification - of available frequencies, please see `here - `_. + of available frequencies, please see here: + :ref:`Timeseries ` axis : str, int, defaults to 0 Number/name of the axis. sort : bool, default to False diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index 185ad8e4c365a..e62825f3d3749 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -183,8 +183,8 @@ class DatetimeIndex(DatetimeTimedeltaMixin): Notes ----- - To learn more about the frequency strings, please see `this link - `__. + To learn more about the frequency strings, please see + :ref:`Timeseries ` """ _typ = "datetimeindex" @@ -856,8 +856,8 @@ def date_range( ``DatetimeIndex`` will have ``periods`` linearly spaced elements between ``start`` and ``end`` (closed on both sides). - To learn more about the frequency strings, please see `this link - `__. + To learn more about the frequency strings, please see + :ref:`Timeseries ` Examples -------- @@ -1026,8 +1026,8 @@ def bdate_range( for ``bdate_range``. Use ``date_range`` if specifying ``freq`` is not desired. - To learn more about the frequency strings, please see `this link - `__. + To learn more about the frequency strings, please see + :ref:`Timeseries ` Examples -------- diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py index 6968837fb13e6..16c85975b6394 100644 --- a/pandas/core/indexes/interval.py +++ b/pandas/core/indexes/interval.py @@ -1196,8 +1196,8 @@ def interval_range( ``IntervalIndex`` will have ``periods`` linearly spaced elements between ``start`` and ``end``, inclusively. - To learn more about datetime-like frequency strings, please see `this link - `__. + To learn more about datetime-like frequency strings, please see this link + :ref:`Timeseries ` Examples -------- diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py index 6a7595a6686bb..368803c1d0ee1 100644 --- a/pandas/core/indexes/period.py +++ b/pandas/core/indexes/period.py @@ -758,8 +758,8 @@ def period_range( Of the three parameters: ``start``, ``end``, and ``periods``, exactly two must be specified. - To learn more about the frequency strings, please see `this link - `__. + To learn more about the frequency strings, please see this link + :ref:`Timeseries ` Examples -------- diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py index 5e4a8e83bd95b..1066e18ac20e7 100644 --- a/pandas/core/indexes/timedeltas.py +++ b/pandas/core/indexes/timedeltas.py @@ -109,8 +109,8 @@ class TimedeltaIndex(DatetimeTimedeltaMixin, dtl.TimelikeOps): Notes ----- - To learn more about the frequency strings, please see `this link - `__. + To learn more about the frequency strings, please see this link + :ref:`Timeseries ` """ _typ = "timedeltaindex" @@ -316,8 +316,8 @@ def timedelta_range( ``TimedeltaIndex`` will have ``periods`` linearly spaced elements between ``start`` and ``end`` (closed on both sides). - To learn more about the frequency strings, please see `this link - `__. + To learn more about the frequency strings, please see this link + :ref:`Timeseries ` Examples -------- diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py index 3784989de10ab..f28a22f78c6e6 100644 --- a/pandas/core/window/rolling.py +++ b/pandas/core/window/rolling.py @@ -819,8 +819,8 @@ class Window(_Window): By default, the result is set to the right edge of the window. This can be changed to the center of the window by setting ``center=True``. - To learn more about the offsets & frequency strings, please see `this link - `__. + To learn more about the offsets & frequency strings, please see this link + :ref:`Timeseries ` The recognized win_types are: From e168fffac27f5827e23f43801e80142dbc8bf493 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 13:48:21 -0700 Subject: [PATCH 11/24] PR comments updates --- pandas/core/generic.py | 4 ++-- pandas/core/groupby/grouper.py | 4 ++-- pandas/core/indexes/datetimes.py | 12 ++++++------ pandas/core/indexes/interval.py | 4 ++-- pandas/core/indexes/period.py | 4 ++-- pandas/core/indexes/timedeltas.py | 8 ++++---- pandas/core/window/rolling.py | 4 ++-- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 7f955922f9c0b..e6c5ac9dbf733 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7510,8 +7510,8 @@ def asfreq( Notes ----- - To learn more about the frequency strings, please see this link: - :ref:`Timeseries ` + To learn more about the frequency strings, please see `this link + `__. Examples -------- diff --git a/pandas/core/groupby/grouper.py b/pandas/core/groupby/grouper.py index d728d96e3af4d..21e171f937de8 100644 --- a/pandas/core/groupby/grouper.py +++ b/pandas/core/groupby/grouper.py @@ -53,8 +53,8 @@ class Grouper: freq : str / frequency object, defaults to None This will groupby the specified frequency if the target selection (via key or level) is a datetime-like object. For full specification - of available frequencies, please see here: - :ref:`Timeseries ` + of available frequencies, please see `here + `_. axis : str, int, defaults to 0 Number/name of the axis. sort : bool, default to False diff --git a/pandas/core/indexes/datetimes.py b/pandas/core/indexes/datetimes.py index e62825f3d3749..185ad8e4c365a 100644 --- a/pandas/core/indexes/datetimes.py +++ b/pandas/core/indexes/datetimes.py @@ -183,8 +183,8 @@ class DatetimeIndex(DatetimeTimedeltaMixin): Notes ----- - To learn more about the frequency strings, please see - :ref:`Timeseries ` + To learn more about the frequency strings, please see `this link + `__. """ _typ = "datetimeindex" @@ -856,8 +856,8 @@ def date_range( ``DatetimeIndex`` will have ``periods`` linearly spaced elements between ``start`` and ``end`` (closed on both sides). - To learn more about the frequency strings, please see - :ref:`Timeseries ` + To learn more about the frequency strings, please see `this link + `__. Examples -------- @@ -1026,8 +1026,8 @@ def bdate_range( for ``bdate_range``. Use ``date_range`` if specifying ``freq`` is not desired. - To learn more about the frequency strings, please see - :ref:`Timeseries ` + To learn more about the frequency strings, please see `this link + `__. Examples -------- diff --git a/pandas/core/indexes/interval.py b/pandas/core/indexes/interval.py index 16c85975b6394..6968837fb13e6 100644 --- a/pandas/core/indexes/interval.py +++ b/pandas/core/indexes/interval.py @@ -1196,8 +1196,8 @@ def interval_range( ``IntervalIndex`` will have ``periods`` linearly spaced elements between ``start`` and ``end``, inclusively. - To learn more about datetime-like frequency strings, please see this link - :ref:`Timeseries ` + To learn more about datetime-like frequency strings, please see `this link + `__. Examples -------- diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py index 368803c1d0ee1..6a7595a6686bb 100644 --- a/pandas/core/indexes/period.py +++ b/pandas/core/indexes/period.py @@ -758,8 +758,8 @@ def period_range( Of the three parameters: ``start``, ``end``, and ``periods``, exactly two must be specified. - To learn more about the frequency strings, please see this link - :ref:`Timeseries ` + To learn more about the frequency strings, please see `this link + `__. Examples -------- diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py index 1066e18ac20e7..5e4a8e83bd95b 100644 --- a/pandas/core/indexes/timedeltas.py +++ b/pandas/core/indexes/timedeltas.py @@ -109,8 +109,8 @@ class TimedeltaIndex(DatetimeTimedeltaMixin, dtl.TimelikeOps): Notes ----- - To learn more about the frequency strings, please see this link - :ref:`Timeseries ` + To learn more about the frequency strings, please see `this link + `__. """ _typ = "timedeltaindex" @@ -316,8 +316,8 @@ def timedelta_range( ``TimedeltaIndex`` will have ``periods`` linearly spaced elements between ``start`` and ``end`` (closed on both sides). - To learn more about the frequency strings, please see this link - :ref:`Timeseries ` + To learn more about the frequency strings, please see `this link + `__. Examples -------- diff --git a/pandas/core/window/rolling.py b/pandas/core/window/rolling.py index f28a22f78c6e6..3784989de10ab 100644 --- a/pandas/core/window/rolling.py +++ b/pandas/core/window/rolling.py @@ -819,8 +819,8 @@ class Window(_Window): By default, the result is set to the right edge of the window. This can be changed to the center of the window by setting ``center=True``. - To learn more about the offsets & frequency strings, please see this link - :ref:`Timeseries ` + To learn more about the offsets & frequency strings, please see `this link + `__. The recognized win_types are: From a6b99278e91c52e8f8f81ddcb2a3699b2d296947 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 16:44:30 -0700 Subject: [PATCH 12/24] adding whatsnew docs --- doc/source/whatsnew/v0.25.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index b18d022349001..929a3cd028cd7 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -6,7 +6,7 @@ What's new in 0.25.0 (July 18, 2019) .. warning:: Starting with the 0.25.x series of releases, pandas only supports Python 3.5.3 and higher. - See `Dropping Python 2.7 `_ for more details. + See :ref:`Dropping Python 2.7 ` for more details. .. warning:: From 77171e19722c4ab6510a3f2c5bba03cc06847eea Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 17:26:09 -0700 Subject: [PATCH 13/24] updating whatsnew docs --- doc/source/whatsnew/v0.16.0.rst | 2 +- doc/source/whatsnew/v0.23.0.rst | 2 +- doc/source/whatsnew/v0.23.1.rst | 2 +- doc/source/whatsnew/v0.23.2.rst | 2 +- doc/source/whatsnew/v0.23.4.rst | 2 +- doc/source/whatsnew/v0.24.0.rst | 2 +- doc/source/whatsnew/v0.24.1.rst | 2 +- doc/source/whatsnew/v0.24.2.rst | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/whatsnew/v0.16.0.rst b/doc/source/whatsnew/v0.16.0.rst index 855d0b8695bb1..d19f57ace8011 100644 --- a/doc/source/whatsnew/v0.16.0.rst +++ b/doc/source/whatsnew/v0.16.0.rst @@ -528,7 +528,7 @@ Deprecations `seaborn `_ for similar but more refined functionality (:issue:`3445`). The documentation includes some examples how to convert your existing code - from ``rplot`` to seaborn `here `__. + from ``rplot`` to seaborn :ref:`here ` - The ``pandas.sandbox.qtpandas`` interface is deprecated and will be removed in a future version. We refer users to the external package `pandas-qt `_. (:issue:`9615`) diff --git a/doc/source/whatsnew/v0.23.0.rst b/doc/source/whatsnew/v0.23.0.rst index b9e1b5060d1da..48859a9a601bf 100644 --- a/doc/source/whatsnew/v0.23.0.rst +++ b/doc/source/whatsnew/v0.23.0.rst @@ -31,7 +31,7 @@ Check the :ref:`API Changes ` and :ref:`deprecations .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See `Dropping Python 2.7 `_ for more. + See :ref:`Dropping Python 2.7 ` for more. .. contents:: What's new in v0.23.0 :local: diff --git a/doc/source/whatsnew/v0.23.1.rst b/doc/source/whatsnew/v0.23.1.rst index 03b7d9db6bc63..b64db45366dd8 100644 --- a/doc/source/whatsnew/v0.23.1.rst +++ b/doc/source/whatsnew/v0.23.1.rst @@ -12,7 +12,7 @@ and bug fixes. We recommend that all users upgrade to this version. .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See `Dropping Python 2.7 `_ for more. + See :ref:`Dropping Python 2.7 ` for more. .. contents:: What's new in v0.23.1 :local: diff --git a/doc/source/whatsnew/v0.23.2.rst b/doc/source/whatsnew/v0.23.2.rst index 9f24092d1d4ae..84401b40a191a 100644 --- a/doc/source/whatsnew/v0.23.2.rst +++ b/doc/source/whatsnew/v0.23.2.rst @@ -17,7 +17,7 @@ and bug fixes. We recommend that all users upgrade to this version. .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See `Dropping Python 2.7 `_ for more. + See :ref:`Dropping Python 2.7 ` for more. .. contents:: What's new in v0.23.2 :local: diff --git a/doc/source/whatsnew/v0.23.4.rst b/doc/source/whatsnew/v0.23.4.rst index eadac6f569926..6e6459855b8f9 100644 --- a/doc/source/whatsnew/v0.23.4.rst +++ b/doc/source/whatsnew/v0.23.4.rst @@ -12,7 +12,7 @@ and bug fixes. We recommend that all users upgrade to this version. .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See `Dropping Python 2.7 `_ for more. + See :ref:`Dropping Python 2.7 ` for more. .. contents:: What's new in v0.23.4 :local: diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index 85de0150a5a28..6409330e5a5cb 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -6,7 +6,7 @@ What's new in 0.24.0 (January 25, 2019) .. warning:: The 0.24.x series of releases will be the last to support Python 2. Future feature - releases will support Python 3 only. See `Dropping Python 2.7 `_ for more + releases will support Python 3 only. See :ref:`Dropping Python 2.7 ` for more details. {{ header }} diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst index aead8c48eb9b7..d82c18f6c1699 100644 --- a/doc/source/whatsnew/v0.24.1.rst +++ b/doc/source/whatsnew/v0.24.1.rst @@ -6,7 +6,7 @@ Whats new in 0.24.1 (February 3, 2019) .. warning:: The 0.24.x series of releases will be the last to support Python 2. Future feature - releases will support Python 3 only. See `Dropping Python 2.7 `_ for more. + releases will support Python 3 only. See :ref:`Dropping Python 2.7 ` for more. {{ header }} diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index d1a893f99cff4..a580173b9b031 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -6,7 +6,7 @@ Whats new in 0.24.2 (March 12, 2019) .. warning:: The 0.24.x series of releases will be the last to support Python 2. Future feature - releases will support Python 3 only. See `Dropping Python 2.7 `_ for more. + releases will support Python 3 only. See :ref:`Dropping Python 2.7 ` for more. {{ header }} From 1fd0987640e1b5223e8bb5688c40ea5af2f5ab84 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 17:58:08 -0700 Subject: [PATCH 14/24] updating whatsnew docs --- doc/source/whatsnew/v0.16.0.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/whatsnew/v0.16.0.rst b/doc/source/whatsnew/v0.16.0.rst index d19f57ace8011..b351d5966515e 100644 --- a/doc/source/whatsnew/v0.16.0.rst +++ b/doc/source/whatsnew/v0.16.0.rst @@ -528,8 +528,7 @@ Deprecations `seaborn `_ for similar but more refined functionality (:issue:`3445`). The documentation includes some examples how to convert your existing code - from ``rplot`` to seaborn :ref:`here ` - + from ``rplot`` to seaborn `here `__. - The ``pandas.sandbox.qtpandas`` interface is deprecated and will be removed in a future version. We refer users to the external package `pandas-qt `_. (:issue:`9615`) From 63a67e5d78f83ace5f18e479a6aeec6053706d5c Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 18:32:15 -0700 Subject: [PATCH 15/24] updating whatsnew docs --- doc/source/whatsnew/v0.15.0.rst | 2 +- doc/source/whatsnew/v0.16.0.rst | 1 + doc/source/whatsnew/v0.21.0.rst | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/whatsnew/v0.15.0.rst b/doc/source/whatsnew/v0.15.0.rst index 95e354e425143..db25178272824 100644 --- a/doc/source/whatsnew/v0.15.0.rst +++ b/doc/source/whatsnew/v0.15.0.rst @@ -852,7 +852,7 @@ Other notable API changes: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead - See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy + See the caveats in the documentation: :ref:`Indexing ` - ``merge``, ``DataFrame.merge``, and ``ordered_merge`` now return the same type as the ``left`` argument (:issue:`7737`). diff --git a/doc/source/whatsnew/v0.16.0.rst b/doc/source/whatsnew/v0.16.0.rst index b351d5966515e..855d0b8695bb1 100644 --- a/doc/source/whatsnew/v0.16.0.rst +++ b/doc/source/whatsnew/v0.16.0.rst @@ -529,6 +529,7 @@ Deprecations but more refined functionality (:issue:`3445`). The documentation includes some examples how to convert your existing code from ``rplot`` to seaborn `here `__. + - The ``pandas.sandbox.qtpandas`` interface is deprecated and will be removed in a future version. We refer users to the external package `pandas-qt `_. (:issue:`9615`) diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst index 71969c4de6b02..64bb4a47c063e 100644 --- a/doc/source/whatsnew/v0.21.0.rst +++ b/doc/source/whatsnew/v0.21.0.rst @@ -470,7 +470,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike + :ref:`Indexing ` Out[4]: 1 2.0 From c61c4b0efe9eb436d2265cc42aaedecbf3ecd0fe Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 19:02:38 -0700 Subject: [PATCH 16/24] adding whatsnew docs --- doc/source/user_guide/indexing.rst | 2 +- doc/source/whatsnew/v0.15.0.rst | 2 +- doc/source/whatsnew/v0.21.0.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index e06205e9f4f11..05a82db8a72dc 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -676,7 +676,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - :ref:`deprecate loc reindex for list-likes ` + :ref:`deprecate loc reindex for list-likes ` Out[4]: 1 2.0 diff --git a/doc/source/whatsnew/v0.15.0.rst b/doc/source/whatsnew/v0.15.0.rst index db25178272824..6f3eb173d743f 100644 --- a/doc/source/whatsnew/v0.15.0.rst +++ b/doc/source/whatsnew/v0.15.0.rst @@ -852,7 +852,7 @@ Other notable API changes: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead - See the caveats in the documentation: :ref:`Indexing ` + See the caveats in the documentation :ref:`Indexing and Selecting data` - ``merge``, ``DataFrame.merge``, and ``ordered_merge`` now return the same type as the ``left`` argument (:issue:`7737`). diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst index 64bb4a47c063e..28aa20f3ac6f1 100644 --- a/doc/source/whatsnew/v0.21.0.rst +++ b/doc/source/whatsnew/v0.21.0.rst @@ -470,7 +470,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - :ref:`Indexing ` + :ref:`Indexing and Selecting data` Out[4]: 1 2.0 From a90c640658965a7f4eccac2966f4e7fca0be045b Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 19:31:39 -0700 Subject: [PATCH 17/24] updating whatsnew docs --- doc/source/user_guide/indexing.rst | 2 +- doc/source/whatsnew/v0.15.0.rst | 2 +- doc/source/whatsnew/v0.21.0.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 05a82db8a72dc..f3750971d01b9 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -676,7 +676,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - :ref:`deprecate loc reindex for list-likes ` + :ref:`deprecate loc reindex for list-likes ` Out[4]: 1 2.0 diff --git a/doc/source/whatsnew/v0.15.0.rst b/doc/source/whatsnew/v0.15.0.rst index 6f3eb173d743f..95e354e425143 100644 --- a/doc/source/whatsnew/v0.15.0.rst +++ b/doc/source/whatsnew/v0.15.0.rst @@ -852,7 +852,7 @@ Other notable API changes: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead - See the caveats in the documentation :ref:`Indexing and Selecting data` + See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy - ``merge``, ``DataFrame.merge``, and ``ordered_merge`` now return the same type as the ``left`` argument (:issue:`7737`). diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst index 28aa20f3ac6f1..b39f2730a6afc 100644 --- a/doc/source/whatsnew/v0.21.0.rst +++ b/doc/source/whatsnew/v0.21.0.rst @@ -470,7 +470,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - :ref:`Indexing and Selecting data` + :ref:`Indexing and Selecting Data` Out[4]: 1 2.0 From 52391748583e040bdc42377365bdcea92fe1adf1 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 21:32:29 -0700 Subject: [PATCH 18/24] updating whatsnew docs --- doc/source/getting_started/comparison/comparison_with_sql.rst | 2 +- doc/source/user_guide/indexing.rst | 4 ++-- doc/source/whatsnew/v0.21.0.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst index 7c3cda73edd5b..435b79e76f4e1 100644 --- a/doc/source/getting_started/comparison/comparison_with_sql.rst +++ b/doc/source/getting_started/comparison/comparison_with_sql.rst @@ -75,7 +75,7 @@ Filtering in SQL is done via a WHERE clause. LIMIT 5; DataFrames can be filtered in multiple ways; the most intuitive of which is using -:ref:`boolean indexing `. +:ref:`boolean indexing ` .. ipython:: python diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index f3750971d01b9..857c96b7c4aec 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -237,7 +237,7 @@ new column. In 0.21.0 and later, this will raise a ``UserWarning``: In [1]: df = pd.DataFrame({'one': [1., 2., 3.]}) In [2]: df.two = [4, 5, 6] - UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`attribute accessing for Series ` + UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`attribute accessing for Series ` In [3]: df Out[3]: one @@ -676,7 +676,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - :ref:`deprecate loc reindex for list-likes ` + :ref:`Deprecation doc ` Out[4]: 1 2.0 diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst index b39f2730a6afc..253bead3439d5 100644 --- a/doc/source/whatsnew/v0.21.0.rst +++ b/doc/source/whatsnew/v0.21.0.rst @@ -470,7 +470,7 @@ Current behavior KeyError in the future, you can use .reindex() as an alternative. See the documentation here: - :ref:`Indexing and Selecting Data` + :ref:`Deprecation doc ` Out[4]: 1 2.0 From 2e6d4c67efba8f0106436a7173ed973af1d6f4e4 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 22:03:44 -0700 Subject: [PATCH 19/24] updating comparison with sql doc --- doc/source/getting_started/comparison/comparison_with_sql.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst index 435b79e76f4e1..676d2148e1db3 100644 --- a/doc/source/getting_started/comparison/comparison_with_sql.rst +++ b/doc/source/getting_started/comparison/comparison_with_sql.rst @@ -75,7 +75,7 @@ Filtering in SQL is done via a WHERE clause. LIMIT 5; DataFrames can be filtered in multiple ways; the most intuitive of which is using -:ref:`boolean indexing ` +:ref:`boolean indexing ` .. ipython:: python From 3f18268c3dc4f94a5f0e84ccb17eb9e130a46a10 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Sun, 8 Mar 2020 22:49:58 -0700 Subject: [PATCH 20/24] updating indexing docs --- doc/source/getting_started/comparison/comparison_with_sql.rst | 2 +- doc/source/user_guide/indexing.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst index 676d2148e1db3..50e316f18bf8a 100644 --- a/doc/source/getting_started/comparison/comparison_with_sql.rst +++ b/doc/source/getting_started/comparison/comparison_with_sql.rst @@ -75,7 +75,7 @@ Filtering in SQL is done via a WHERE clause. LIMIT 5; DataFrames can be filtered in multiple ways; the most intuitive of which is using -:ref:`boolean indexing ` +:ref:`Boolean indexing ` .. ipython:: python diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 857c96b7c4aec..94e8a886e9f3c 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -237,7 +237,7 @@ new column. In 0.21.0 and later, this will raise a ``UserWarning``: In [1]: df = pd.DataFrame({'one': [1., 2., 3.]}) In [2]: df.two = [4, 5, 6] - UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`attribute accessing for Series ` + UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`Attribute Access ` In [3]: df Out[3]: one From 48338353ba488ab9e5f6bfda876f20cc3e8528e7 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Mon, 9 Mar 2020 15:08:55 -0700 Subject: [PATCH 21/24] PR comments --- .../getting_started/comparison/comparison_with_sql.rst | 2 +- doc/source/user_guide/indexing.rst | 5 ++--- doc/source/whatsnew/v0.21.0.rst | 3 +-- doc/source/whatsnew/v0.23.0.rst | 2 +- doc/source/whatsnew/v0.23.1.rst | 2 +- doc/source/whatsnew/v0.23.2.rst | 2 +- doc/source/whatsnew/v0.23.4.rst | 2 +- doc/source/whatsnew/v0.24.0.rst | 2 +- doc/source/whatsnew/v0.24.1.rst | 2 +- doc/source/whatsnew/v0.24.2.rst | 2 +- doc/source/whatsnew/v0.25.0.rst | 2 +- 11 files changed, 12 insertions(+), 14 deletions(-) diff --git a/doc/source/getting_started/comparison/comparison_with_sql.rst b/doc/source/getting_started/comparison/comparison_with_sql.rst index 50e316f18bf8a..e3c8f8f5ccbcd 100644 --- a/doc/source/getting_started/comparison/comparison_with_sql.rst +++ b/doc/source/getting_started/comparison/comparison_with_sql.rst @@ -75,7 +75,7 @@ Filtering in SQL is done via a WHERE clause. LIMIT 5; DataFrames can be filtered in multiple ways; the most intuitive of which is using -:ref:`Boolean indexing ` +:ref:`boolean indexing ` .. ipython:: python diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 94e8a886e9f3c..8d428c4fe62cc 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -237,7 +237,7 @@ new column. In 0.21.0 and later, this will raise a ``UserWarning``: In [1]: df = pd.DataFrame({'one': [1., 2., 3.]}) In [2]: df.two = [4, 5, 6] - UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see :ref:`Attribute Access ` + UserWarning: Pandas doesn't allow Series to be assigned into nonexistent columns - see https://pandas.pydata.org/pandas-docs/stable/indexing.html#attribute_access In [3]: df Out[3]: one @@ -675,8 +675,7 @@ Current behavior Passing list-likes to .loc with any non-matching elements will raise KeyError in the future, you can use .reindex() as an alternative. - See the documentation here: - :ref:`Deprecation doc ` + See the documentation :ref:`here ` Out[4]: 1 2.0 diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst index 253bead3439d5..a65d31fe765eb 100644 --- a/doc/source/whatsnew/v0.21.0.rst +++ b/doc/source/whatsnew/v0.21.0.rst @@ -469,8 +469,7 @@ Current behavior Passing list-likes to .loc or [] with any missing label will raise KeyError in the future, you can use .reindex() as an alternative. - See the documentation here: - :ref:`Deprecation doc ` + See the documentation here :ref:`here ` Out[4]: 1 2.0 diff --git a/doc/source/whatsnew/v0.23.0.rst b/doc/source/whatsnew/v0.23.0.rst index 48859a9a601bf..b9e1b5060d1da 100644 --- a/doc/source/whatsnew/v0.23.0.rst +++ b/doc/source/whatsnew/v0.23.0.rst @@ -31,7 +31,7 @@ Check the :ref:`API Changes ` and :ref:`deprecations .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See :ref:`Dropping Python 2.7 ` for more. + See `Dropping Python 2.7 `_ for more. .. contents:: What's new in v0.23.0 :local: diff --git a/doc/source/whatsnew/v0.23.1.rst b/doc/source/whatsnew/v0.23.1.rst index b64db45366dd8..03b7d9db6bc63 100644 --- a/doc/source/whatsnew/v0.23.1.rst +++ b/doc/source/whatsnew/v0.23.1.rst @@ -12,7 +12,7 @@ and bug fixes. We recommend that all users upgrade to this version. .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See :ref:`Dropping Python 2.7 ` for more. + See `Dropping Python 2.7 `_ for more. .. contents:: What's new in v0.23.1 :local: diff --git a/doc/source/whatsnew/v0.23.2.rst b/doc/source/whatsnew/v0.23.2.rst index 84401b40a191a..9f24092d1d4ae 100644 --- a/doc/source/whatsnew/v0.23.2.rst +++ b/doc/source/whatsnew/v0.23.2.rst @@ -17,7 +17,7 @@ and bug fixes. We recommend that all users upgrade to this version. .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See :ref:`Dropping Python 2.7 ` for more. + See `Dropping Python 2.7 `_ for more. .. contents:: What's new in v0.23.2 :local: diff --git a/doc/source/whatsnew/v0.23.4.rst b/doc/source/whatsnew/v0.23.4.rst index 6e6459855b8f9..eadac6f569926 100644 --- a/doc/source/whatsnew/v0.23.4.rst +++ b/doc/source/whatsnew/v0.23.4.rst @@ -12,7 +12,7 @@ and bug fixes. We recommend that all users upgrade to this version. .. warning:: Starting January 1, 2019, pandas feature releases will support Python 3 only. - See :ref:`Dropping Python 2.7 ` for more. + See `Dropping Python 2.7 `_ for more. .. contents:: What's new in v0.23.4 :local: diff --git a/doc/source/whatsnew/v0.24.0.rst b/doc/source/whatsnew/v0.24.0.rst index 6409330e5a5cb..85de0150a5a28 100644 --- a/doc/source/whatsnew/v0.24.0.rst +++ b/doc/source/whatsnew/v0.24.0.rst @@ -6,7 +6,7 @@ What's new in 0.24.0 (January 25, 2019) .. warning:: The 0.24.x series of releases will be the last to support Python 2. Future feature - releases will support Python 3 only. See :ref:`Dropping Python 2.7 ` for more + releases will support Python 3 only. See `Dropping Python 2.7 `_ for more details. {{ header }} diff --git a/doc/source/whatsnew/v0.24.1.rst b/doc/source/whatsnew/v0.24.1.rst index d82c18f6c1699..aead8c48eb9b7 100644 --- a/doc/source/whatsnew/v0.24.1.rst +++ b/doc/source/whatsnew/v0.24.1.rst @@ -6,7 +6,7 @@ Whats new in 0.24.1 (February 3, 2019) .. warning:: The 0.24.x series of releases will be the last to support Python 2. Future feature - releases will support Python 3 only. See :ref:`Dropping Python 2.7 ` for more. + releases will support Python 3 only. See `Dropping Python 2.7 `_ for more. {{ header }} diff --git a/doc/source/whatsnew/v0.24.2.rst b/doc/source/whatsnew/v0.24.2.rst index a580173b9b031..d1a893f99cff4 100644 --- a/doc/source/whatsnew/v0.24.2.rst +++ b/doc/source/whatsnew/v0.24.2.rst @@ -6,7 +6,7 @@ Whats new in 0.24.2 (March 12, 2019) .. warning:: The 0.24.x series of releases will be the last to support Python 2. Future feature - releases will support Python 3 only. See :ref:`Dropping Python 2.7 ` for more. + releases will support Python 3 only. See `Dropping Python 2.7 `_ for more. {{ header }} diff --git a/doc/source/whatsnew/v0.25.0.rst b/doc/source/whatsnew/v0.25.0.rst index 929a3cd028cd7..b18d022349001 100644 --- a/doc/source/whatsnew/v0.25.0.rst +++ b/doc/source/whatsnew/v0.25.0.rst @@ -6,7 +6,7 @@ What's new in 0.25.0 (July 18, 2019) .. warning:: Starting with the 0.25.x series of releases, pandas only supports Python 3.5.3 and higher. - See :ref:`Dropping Python 2.7 ` for more details. + See `Dropping Python 2.7 `_ for more details. .. warning:: From f1d3e2e441813534afe5dac9a1defba178daef1d Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Mon, 9 Mar 2020 15:11:56 -0700 Subject: [PATCH 22/24] PR comments --- doc/source/whatsnew/v0.21.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst index a65d31fe765eb..11fc4a56cc06e 100644 --- a/doc/source/whatsnew/v0.21.0.rst +++ b/doc/source/whatsnew/v0.21.0.rst @@ -469,7 +469,7 @@ Current behavior Passing list-likes to .loc or [] with any missing label will raise KeyError in the future, you can use .reindex() as an alternative. - See the documentation here :ref:`here ` + See the documentation :ref:`here ` Out[4]: 1 2.0 From 68bed39e7f19c193076d21a794fbffd97d432473 Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Tue, 10 Mar 2020 16:22:31 -0700 Subject: [PATCH 23/24] PR comments --- doc/source/whatsnew/v0.21.0.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v0.21.0.rst b/doc/source/whatsnew/v0.21.0.rst index 11fc4a56cc06e..71969c4de6b02 100644 --- a/doc/source/whatsnew/v0.21.0.rst +++ b/doc/source/whatsnew/v0.21.0.rst @@ -469,7 +469,8 @@ Current behavior Passing list-likes to .loc or [] with any missing label will raise KeyError in the future, you can use .reindex() as an alternative. - See the documentation :ref:`here ` + See the documentation here: + https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike Out[4]: 1 2.0 From fc03dfebd0e6c536f2769a3f9a53475ed5742c9c Mon Sep 17 00:00:00 2001 From: Arkadeep Adhikari Date: Wed, 11 Mar 2020 18:30:25 -0700 Subject: [PATCH 24/24] PR comments --- doc/source/user_guide/indexing.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index 8d428c4fe62cc..2bd3ff626f2e1 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -675,7 +675,8 @@ Current behavior Passing list-likes to .loc with any non-matching elements will raise KeyError in the future, you can use .reindex() as an alternative. - See the documentation :ref:`here ` + See the documentation here: + https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike Out[4]: 1 2.0