@Substitution(name='groupby')
    @Appender(_doc_template)
    def head(self, n=5):
        mask = self._cumcount_array() < n
        return self._selected_obj[mask]
This tests checks if action data reset to default after new step
dataset/ETHPy150Open pydata/pandas/pandas/core/groupby.py/GroupBy.head--crossover with--dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/tests/condensation/test_action.py/ActionTest.test_new_step