code: def test_approx_quantiles_int():
      arr = np.asarray([1, 2, 3])
      quant_values = [0.5]
      approx_results = [2]
  
      gdf_series = cudf.Series(arr)
  
      q1 = gdf_series.quantile(quant_values, exact=False)
  
      assert approx_results == q1.to_pandas().values
  
imports: from concurrent.futures import ThreadPoolExecutor
  import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.datasets import randomdata
  from cudf.testing._utils import _create_cudf_series_float64_default, _create_pandas_series_float64_default, assert_eq, assert_exceptions_equal, expect_warning_if
label_desc: Use image node_id 10 for calling a global function with example usage: test_approx_quantiles_int() without return types