code: def _rm_anova(self, dv=None, within=None, subject=None, detailed=False,
                correction='auto', export_filename=None):
      
      aov = rm_anova(data=self, dv=dv, within=within, subject=subject,
                     correction=correction, detailed=detailed,
                     export_filename=export_filename)
      return aov
docs: One-way and two-way repeated measures ANOVA.