code: def test_dropna_index(data, dtype):
      pi = pd.Index(data, dtype=dtype)
      gi = cudf.from_pandas(pi)
  
      expect = pi.dropna()
      got = gi.dropna()
  
      assert_eq(expect, got)
  
file_path: cudf/python/cudf/cudf/tests/test_dropna.py
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import _create_pandas_series_float64_default, assert_eq
label_desc: Use image node_id 10 for calling a global function with example usage: test_dropna_index(data, dtype) without return types