code: def _convert_to_numpy(left: np.ndarray, right: np.ndarray) -> tuple:
      """
      Ensure array is a numpy array.
      """
      if is_extension_array_dtype(left):
          array_dtype = left.dtype.numpy_dtype
          left = left.astype(array_dtype)
          right = right.astype(array_dtype)
      if is_datetime64_dtype(left):
          left = left.view(np.int64)
          right = right.view(np.int64)
      return left, right
  
file_path: pyjanitor/janitor/functions/_numba.py
imports: import numpy
  import pandas
  from numba import njit, prange
  from pandas.api.types import is_datetime64_dtype, is_extension_array_dtype
  from janitor.functions.utils import _generic_func_cond_join, _null_checks_cond_join, greater_than_join_types, less_than_join_types
label_desc: Use image node_id 1 for calling a global function with example usage: _convert_to_numpy(left, right) and returns: left,  right