File tree 2 files changed +15
-3
lines changed 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,8 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
136
136
-i " pandas.Index.drop_duplicates RT03" \
137
137
-i " pandas.Index.droplevel RT03,SA01" \
138
138
-i " pandas.Index.dropna RT03,SA01" \
139
- -i " pandas.Index.dtype SA01" \
140
139
-i " pandas.Index.duplicated RT03" \
141
140
-i " pandas.Index.empty GL08" \
142
- -i " pandas.Index.equals SA01" \
143
141
-i " pandas.Index.fillna RT03" \
144
142
-i " pandas.Index.get_indexer PR07,SA01" \
145
143
-i " pandas.Index.get_indexer_for PR01,SA01" \
@@ -153,7 +151,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
153
151
-i " pandas.Index.item SA01" \
154
152
-i " pandas.Index.join PR07,RT03,SA01" \
155
153
-i " pandas.Index.memory_usage RT03" \
156
- -i " pandas.Index.name SA01" \
157
154
-i " pandas.Index.names GL08" \
158
155
-i " pandas.Index.nunique RT03" \
159
156
-i " pandas.Index.putmask PR01,RT03" \
Original file line number Diff line number Diff line change @@ -976,6 +976,10 @@ def dtype(self) -> DtypeObj:
976
976
"""
977
977
Return the dtype object of the underlying data.
978
978
979
+ See Also
980
+ --------
981
+ Index.inferred_type: Return a string of the type inferred from the values.
982
+
979
983
Examples
980
984
--------
981
985
>>> idx = pd.Index([1, 2, 3])
@@ -1638,6 +1642,11 @@ def name(self) -> Hashable:
1638
1642
"""
1639
1643
Return Index or MultiIndex name.
1640
1644
1645
+ See Also
1646
+ --------
1647
+ Index.set_names: Able to set new names partially and by level.
1648
+ Index.rename: Able to set new names partially and by level.
1649
+
1641
1650
Examples
1642
1651
--------
1643
1652
>>> idx = pd.Index([1, 2, 3], name="x")
@@ -5181,6 +5190,12 @@ def equals(self, other: Any) -> bool:
5181
5190
True if "other" is an Index and it has the same elements and order
5182
5191
as the calling index; False otherwise.
5183
5192
5193
+ See Also
5194
+ --------
5195
+ Index.identical: Checks that object attributes and types are also equal.
5196
+ Index.has_duplicates: Check if the Index has duplicate values.
5197
+ Index.is_unique: Return if the index has unique values.
5198
+
5184
5199
Examples
5185
5200
--------
5186
5201
>>> idx1 = pd.Index([1, 2, 3])
You can’t perform that action at this time.
0 commit comments