code: def fit(estimator, x, y):
      # TODO: logging
      estimator.fit(x, y)
      return estimator
  
imports: import dask
  import dask.array
  import dask.dataframe
  import numpy
  import sklearn.base
  from sklearn.utils.validation import check_is_fitted
  from ..base import ClassifierMixin, RegressorMixin
  from ..utils import check_array
label_desc: Use image node_id 1 for calling a global function with example usage: fit(estimator, x, y) and returns: estimator