code: def _get_X_numpy_int_from_pandas(x):
      """Convert pandas index to an sklearn compatible X, 2D np.ndarray, int type."""
      if isinstance(x, (pd.DatetimeIndex)):
          x = x.astype("int64") / 864e11
      else:
          x = x.astype("int64")
      return x.to_numpy().reshape(-1, 1)
  
label_desc: Use image node_id 1 for calling a global function with example usage: _get_X_numpy_int_from_pandas(x) and returns: x