pandas: support dataframe grouper in By
collapse stateless pytest fixture