def to_datetime(self, dayfirst=False):
        from pandas.tseries.index import DatetimeIndex
        if self.inferred_type == 'string':
            from dateutil.parser import parse
            parser = lambda x: parse(x, dayfirst=dayfirst)
            parsed = lib.try_parse_dates(self.values, parser=parser)
            return DatetimeIndex(parsed)
        else:
            return DatetimeIndex(self.values)
Test 2-way anova
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.to_datetime--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/stats/tests/test_parametric.py/test_f_twoway_rm