code: def test_get_dummies_array_like_with_nan():
      ser = cudf.Series([0.1, 2, 3, None, np.nan], nan_as_null=False)
  
      expected = pd.get_dummies(
          ser.to_pandas(nullable=True),
          dummy_na=True,
          prefix="a",
          prefix_sep="_",
      )
  
      with pytest.warns(FutureWarning):
          actual = cudf.get_dummies(
              ser, dummy_na=True, prefix="a", prefix_sep="_"
          )
  
      assert_eq(expected, actual)
  
file_path: cudf/python/cudf/cudf/tests/test_onehot.py
imports: from string import ascii_lowercase
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_dummies_array_like_with_nan() without return types