code: def test_key_value(setup):
      raw = pd.DataFrame(np.random.rand(4, 3), columns=list("ABC"))
      df = DataFrame(raw)
  
      result = df.values.execute().fetch()
      np.testing.assert_array_equal(result, raw.values)
  
      result = df.keys().execute().fetch()
      pd.testing.assert_index_equal(result, raw.keys())
  
      raw = pd.Series(np.random.rand(10))
      s = Series(raw)
  
      result = s.values.execute().fetch()
      np.testing.assert_array_equal(result, raw.values)
  
      result = s.keys().execute().fetch()
      pd.testing.assert_index_equal(result, raw.keys())
  
      raw = pd.Index(np.random.rand(10))
      idx = Index(raw)
  
      result = idx.values.execute().fetch()
      np.testing.assert_array_equal(result, raw.values)
  
file_path: mars/mars/dataframe/tests/test_core.py
imports: import numpy
  import pandas
  import pytest
  from ...core import tile
  from ...lib.groupby_wrapper import wrapped_groupby
  from ...utils import pd_release_version
  from ..None import cut
  from ..initializer import DataFrame, Series, Index
label_desc: Use image node_id 10 for calling a global function with example usage: test_key_value(setup) without return types