code: def test_series_quantile():
      raw = pd.Series(np.random.rand(10))
      s = series_from_pandas(raw, chunk_size=3)
  
      r = s.quantile()
      assert isinstance(r, Tensor)
      tile(r)
  
      s = series_from_pandas(raw, chunk_size=3)
  
      r = s.quantile([0.3, 0.7])
      assert isinstance(r, Series)
      assert r.shape == (2,)
      pd.testing.assert_index_equal(
          r.index_value.to_pandas(), pd.Index([0.3, 0.7])
      )
      tile(r)
  
file_path: mars/mars/dataframe/statistics/tests/test_statistics.py
imports: import numpy
  import pandas
  from ....core import tile
  from ....tensor import Tensor
  from ...core import Series, DataFrame
  from ...datasource.dataframe import from_pandas
  from ...datasource.series import from_pandas
label_desc: Use image node_id 1 for calling a global function with example usage: test_series_quantile() without return types