code: def _convert_to_gpuarray(data, order="F"):
      if data is None:
          return None
      elif isinstance(data, tuple):
          return tuple(
              [_convert_to_gpuarray(d, order=order) for d in data]
          )
      elif isinstance(data, pd.DataFrame):
          return _convert_to_gpuarray(
              cudf.DataFrame.from_pandas(data), order=order
          )
      elif isinstance(data, pd.Series):
          gs = cudf.Series.from_pandas(data)
          return cuda.as_cuda_array(gs)
      else:
          return input_utils.input_to_cuml_array(data, order=order)[
              0
          ].to_output("numba")
  
imports: from cuml.internals.import_utils import has_scipy
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.internals import input_utils
  from urllib.request import urlretrieve
  import sklearn.model_selection
  from sklearn.datasets import load_svmlight_file, fetch_covtype
  import cuml.datasets
  from cuml.internals.safe_imports import cpu_only_import
  import os
  import functools
  import gzip
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 17 for calling a global function with example usage: _convert_to_gpuarray(data, order) and returns: None, tuple, _convert_to_gpuarray, cuda, input_utils