Skip to content

Commit 41e100b

Browse files
author
TomAugspurger
committed
DOC: default is copy=True but docstring said False
1 parent f59f6e4 commit 41e100b

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
@@ -702,7 +702,7 @@ def major_xs(self, key, copy=True):
702702
----------
703703
key : object
704704
Major axis label
705-
copy : boolean, default False
705+
copy : boolean, default True
706706
Copy data
707707
708708
Returns
@@ -720,7 +720,7 @@ def minor_xs(self, key, copy=True):
720720
----------
721721
key : object
722722
Minor axis label
723-
copy : boolean, default False
723+
copy : boolean, default True
724724
Copy data
725725
726726
Returns
@@ -739,6 +739,8 @@ def xs(self, key, axis=1, copy=True):
739739
key : object
740740
Label
741741
axis : {'items', 'major', 'minor}, default 1/'major'
742+
copy : boolean, default True
743+
Copy data
742744
743745
Returns
744746
-------

0 commit comments

Comments
 (0)