def METHOD_NAME(setup):
    raw = pd.Series(np.random.rand(10), name="a")
    a = Series(raw, chunk_size=3)
    # q = 0.5, scalar
    r = a.quantile()
    result = r.execute().fetch()
    expected = raw.quantile()
    assert result == expected
    # q is a list
    r = a.quantile([0.3, 0.7])
    result = r.execute().fetch()
    expected = raw.quantile([0.3, 0.7])
    pd.testing.assert_series_equal(result, expected)
    # test interpolation
    r = a.quantile([0.3, 0.7], interpolation="midpoint")
    result = r.execute().fetch()
    expected = raw.quantile([0.3, 0.7], interpolation="midpoint")
    pd.testing.assert_series_equal(result, expected)
    q = tensor([0.3, 0.7])
    # q is a tensor
    r = a.quantile(q)
    result = r.execute().fetch()
    expected = raw.quantile([0.3, 0.7])
    pd.testing.assert_series_equal(result, expected)