code: def coerce_between_0_1(arr, x_i, y_i):
      val = arr[x_i, y_i]
      if val < 0:
          return 0
      elif val > 1:
          return 1
      else:
          return x
  
imports: import pytest
  import numpy
  from impyute.imputation.cs import mean
  from impyute.ops import error
  from impyute.ops import wrapper
label_desc: Use image node_id 12 for calling a global function with example usage: coerce_between_0_1(arr, x_i, y_i) and returns: int, int, x