code: def nan_filled_positive(request, random_seed):
      rand = create_positive_rand(random_seed)
      cp.random.seed(random_seed)
      random_loc = cp.random.choice(
          rand.size, int(rand.size * 0.3), replace=False
      )
      rand.ravel()[random_loc] = cp.nan
      rand = convert(rand, request.param)
      return rand
  
imports: from cuml.common import input_to_cuml_array
  from scipy.sparse import coo_matrix
  from scipy.sparse import csc_matrix
  from cupyx.scipy.sparse import coo_matrix
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.internals.safe_imports import gpu_only_import
  from cuml.internals.safe_imports import cpu_only_import
  import pytest
  from cuml.datasets import make_classification, make_blobs
  from cuml.internals.safe_imports import cpu_only_import_from
label_desc: Use image node_id 16 for calling a global function with example usage: nan_filled_positive(request, random_seed) and returns: rand