Exemplo n.º 1
0
def test_dataframe_exceptions_for_clip(lower, upper):
    gdf = DataFrame({"a": [1, 2, 3, 4, 5], "b": [7.1, 7.24, 7.5, 7.8, 8.11]})

    with pytest.raises(ValueError):
        gdf.clip(lower=lower, upper=upper)