code: def _f(x: BoundType) -> BoundType:
      """Format for prints:
      array with one scalars are converted to floats
      """
      if isinstance(x, (np.ndarray, list, tuple)):
          x = np.array(x, copy=False)
          if x.shape == (1,):
              x = float(x[0])
      if isinstance(x, float) and x.is_integer():
          x = int(x)
      return x
  
imports: import uuid
  import itertools
  import numpy
  from scipy import stats
  import nevergrad.common.typing
  from .None import utils
label_desc: Use image node_id 2 for calling a global function with example usage: _f(x) and returns: x