def METHOD_NAME(german_credit_data: Dataset):
    @slicing_function(name="row greater than")
    def filter_greater_than(x: pd.Series, row: str, threshold: int) -> bool:
        return x[row] > threshold
    @transformation_function
    def transform_divide_by(x: pd.Series, row: str, divider: int) -> pd.Series:
        x[row] /= divider
        return x
    assert len(german_credit_data.df) == 1000
    german_credit_data.add_slicing_function(filter_greater_than("credit_amount", 2000))
    german_credit_data.add_transformation_function(transform_divide_by("credit_amount", 5))
    german_credit_data.add_slicing_function(filter_greater_than("credit_amount", 1000))
    assert len(german_credit_data.df) == 1000
    ds = german_credit_data.process()
    assert len(ds.df) == 188