code: def _scale_rows(client, nrows):
      workers = list(client.scheduler_info()["workers"].keys())
      n_workers = len(workers)
      return n_workers * nrows
  
file_path: cuml/python/cuml/tests/dask/test_dask_nearest_neighbors.py
imports: import platform
  from cuml.testing.utils import array_equal
  from sklearn.neighbors import KNeighborsClassifier
  from cuml.testing.utils import unit_param, quality_param, stress_param
  from cuml.dask.common import utils
  from cuml.common import has_scipy
  from cuml.internals.safe_imports import cpu_only_import
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 3 for calling a global function with example usage: _scale_rows(client, nrows) and returns: unknown