'convert data to rankdata and attach
This creates rankdata as it is used for non-parametric tests, where
in the case of ties the average rank is assigned.'

def getranks(self):

    self.ranks = GroupsStats(np.column_stack([self.data, self.groupintlab]), useranks=True)
    self.rankdata = self.ranks.groupmeanfilter
