We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e70081 commit 9f6802dCopy full SHA for 9f6802d
pandas/core/panel.py
@@ -573,8 +573,19 @@ def minor_xs(self, key):
573
mat = np.array(self.values[:, :, loc].T)
574
return DataMatrix(mat, index=self.major_axis, columns=self.items)
575
576
- getMinorXS = minor_xs
577
- getMajorXS = major_xs
+ def getMinorXS(self, key): # pragma: no cover
+ warnings.warn("getMinorXS has been replaced by the minor_xs function "
578
+ "please modify your code accordingly",
579
+ FutureWarning)
580
+
581
+ return self.minor_xs(key)
582
583
+ def getMajorXS(self, key): # pragma: no cover
584
+ warnings.warn("getMajorXS has been replaced by the major_xs function "
585
586
587
588
+ return self.major_xs(key)
589
590
def groupby(self, function, axis='major'):
591
"""
0 commit comments