File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
322
322
-i " pandas.api.extensions.ExtensionArray._reduce RT03,SA01" \
323
323
-i " pandas.api.extensions.ExtensionArray._values_for_factorize SA01" \
324
324
-i " pandas.api.extensions.ExtensionArray.astype SA01" \
325
- -i " pandas.api.extensions.ExtensionArray.copy RT03,SA01" \
326
325
-i " pandas.api.extensions.ExtensionArray.dropna RT03,SA01" \
327
326
-i " pandas.api.extensions.ExtensionArray.dtype SA01" \
328
327
-i " pandas.api.extensions.ExtensionArray.duplicated RT03,SA01" \
Original file line number Diff line number Diff line change @@ -1604,9 +1604,19 @@ def copy(self) -> Self:
1604
1604
"""
1605
1605
Return a copy of the array.
1606
1606
1607
+ This method creates a copy of the `ExtensionArray` where modifying the
1608
+ data in the copy will not affect the original array. This is useful when
1609
+ you want to manipulate data without altering the original dataset.
1610
+
1607
1611
Returns
1608
1612
-------
1609
1613
ExtensionArray
1614
+ A new `ExtensionArray` object that is a copy of the current instance.
1615
+
1616
+ See Also
1617
+ --------
1618
+ DataFrame.copy : Return a copy of the DataFrame.
1619
+ Series.copy : Return a copy of the Series.
1610
1620
1611
1621
Examples
1612
1622
--------
You can’t perform that action at this time.
0 commit comments