def _numeric_arrays(arrays, kinds='buifc'):
 if (type(arrays) == ndarray):
  return (arrays.dtype.kind in kinds)
 for array_ in arrays:
  if (array_.dtype.kind not in kinds):
   return False
 return True

def _numeric_arrays ( arrays , kinds = 'buifc' ) : if ( type ( arrays ) == ndarray ) : return ( arrays . dtype . kind in kinds ) for array_ in arrays : if ( array_ . dtype . kind not in kinds ) : return False return True
see if a list of arrays are all numeric .