File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -573,8 +573,19 @@ def minor_xs(self, key):
573
573
mat = np .array (self .values [:, :, loc ].T )
574
574
return DataMatrix (mat , index = self .major_axis , columns = self .items )
575
575
576
- getMinorXS = minor_xs
577
- getMajorXS = major_xs
576
+ def getMinorXS (self , key ): # pragma: no cover
577
+ 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
+ "please modify your code accordingly" ,
586
+ FutureWarning )
587
+
588
+ return self .major_xs (key )
578
589
579
590
def groupby (self , function , axis = 'major' ):
580
591
"""
You can’t perform that action at this time.
0 commit comments