File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
70
70
--format=actions \
71
71
-i ES01 ` # For now it is ok if docstrings are missing the extended summary` \
72
72
-i " pandas.Series.dt PR01" ` # Accessors are implemented as classes, but we do not document the Parameters section` \
73
- -i " pandas.MultiIndex.append PR07,SA01" \
74
73
-i " pandas.MultiIndex.copy PR07,RT03,SA01" \
75
74
-i " pandas.MultiIndex.get_level_values SA01" \
76
75
-i " pandas.MultiIndex.get_loc PR07" \
Original file line number Diff line number Diff line change @@ -2223,15 +2223,28 @@ def append(self, other):
2223
2223
"""
2224
2224
Append a collection of Index options together.
2225
2225
2226
+ The `append` method is used to combine multiple `Index` objects into a single
2227
+ `Index`. This is particularly useful when dealing with multi-level indexing
2228
+ (MultiIndex) where you might need to concatenate different levels of indices.
2229
+ The method handles the alignment of the levels and codes of the indices being
2230
+ appended to ensure consistency in the resulting `MultiIndex`.
2231
+
2226
2232
Parameters
2227
2233
----------
2228
2234
other : Index or list/tuple of indices
2235
+ Index or list/tuple of Index objects to be appended.
2229
2236
2230
2237
Returns
2231
2238
-------
2232
2239
Index
2233
2240
The combined index.
2234
2241
2242
+ See Also
2243
+ --------
2244
+ MultiIndex: A multi-level, or hierarchical, index object for pandas objects.
2245
+ Index.append : Append a collection of Index options together.
2246
+ concat : Concatenate pandas objects along a particular axis.
2247
+
2235
2248
Examples
2236
2249
--------
2237
2250
>>> mi = pd.MultiIndex.from_arrays([["a"], ["b"]])
You can’t perform that action at this time.
0 commit comments