From 21ccd7282c6a37d294a80cac66adc3c628bec66a Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Fri, 19 Mar 2021 18:05:01 -0400 Subject: [PATCH] Clean up docs warnings: * for example: `Duplicate explicit target name: "user guide"` --- pandas/core/arrays/categorical.py | 2 +- pandas/core/arrays/interval.py | 2 +- pandas/core/generic.py | 2 +- pandas/core/indexes/category.py | 2 +- pandas/core/indexes/multi.py | 2 +- pandas/core/shared_docs.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index 864bd0684d445..53929ad9eadc8 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -305,7 +305,7 @@ class Categorical(NDArrayBackedExtensionArray, PandasObject, ObjectStringArrayMi Notes ----- See the `user guide - `_ + `__ for more. Examples diff --git a/pandas/core/arrays/interval.py b/pandas/core/arrays/interval.py index ea561dca9a090..1cc0465121335 100644 --- a/pandas/core/arrays/interval.py +++ b/pandas/core/arrays/interval.py @@ -154,7 +154,7 @@ Notes ----- See the `user guide -`_ +`__ for more. %(examples)s\ diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 7138995d1b018..c20b2840a40ab 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7958,7 +7958,7 @@ def resample( Notes ----- See the `user guide - `_ + `__ for more. To learn more about the offset strings, please see `this link diff --git a/pandas/core/indexes/category.py b/pandas/core/indexes/category.py index f372db5287604..c132712020cac 100644 --- a/pandas/core/indexes/category.py +++ b/pandas/core/indexes/category.py @@ -150,7 +150,7 @@ class CategoricalIndex(NDArrayBackedExtensionIndex, accessor.PandasDelegate): Notes ----- See the `user guide - `_ + `__ for more. Examples diff --git a/pandas/core/indexes/multi.py b/pandas/core/indexes/multi.py index 97492f35232e3..ea2667246b4d3 100644 --- a/pandas/core/indexes/multi.py +++ b/pandas/core/indexes/multi.py @@ -267,7 +267,7 @@ class MultiIndex(Index): Notes ----- See the `user guide - `_ + `__ for more. Examples diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 49eb87a3bc8ba..66d84ef85880c 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -143,7 +143,7 @@ Notes ----- See the `user guide -`_ for more. +`__ for more. """ _shared_docs[