Skip to content

Commit a0afa9d

Browse files
author
y-p
committed
Merge pull request #5350 from TomAugspurger/panel_xs_doc
DOC: Panel *xs() docstring indicates wrong default for copy
2 parents 2b79656 + 41e100b commit a0afa9d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/panel.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def major_xs(self, key, copy=True):
714714
----------
715715
key : object
716716
Major axis label
717-
copy : boolean, default False
717+
copy : boolean, default True
718718
Copy data
719719
720720
Returns
@@ -732,7 +732,7 @@ def minor_xs(self, key, copy=True):
732732
----------
733733
key : object
734734
Minor axis label
735-
copy : boolean, default False
735+
copy : boolean, default True
736736
Copy data
737737
738738
Returns
@@ -751,6 +751,8 @@ def xs(self, key, axis=1, copy=True):
751751
key : object
752752
Label
753753
axis : {'items', 'major', 'minor}, default 1/'major'
754+
copy : boolean, default True
755+
Copy data
754756
755757
Returns
756758
-------

0 commit comments

Comments
 (0)