def _convert_freq(self, how=None):

        obj = self._selected_obj
        if (self.freq is not None and
                isinstance(obj, (com.ABCSeries, com.ABCDataFrame))):
            if how is not None:
                warnings.warn("The how kw argument is deprecated and removed "
                              "in a future version. You can resample prior "
                              "to passing to a window function", FutureWarning,
                              stacklevel=6)

            obj = obj.resample(self.freq).aggregate(how or 'asfreq')
        return obj
Skip import on case with step and no instruction.
dataset/ETHPy150Open pydata/pandas/pandas/core/window.py/_Window._convert_freq--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/model/library/test_importer.py/ImporterTransactionTest.test_step_no_instruction_skip