def _make_array(val, copy=False):
 val = np.array(val, copy=copy, subok=True)
 if (not ((val.dtype == np.float64) or (val.dtype.kind in u'OSUa'))):
  val = np.asanyarray(val, dtype=np.float64)
 return val

def _make_array ( val , copy = False ) : val = np . array ( val , copy = copy , subok = True ) if ( not ( ( val . dtype == np . float64 ) or ( val . dtype . kind in u'OSUa' ) ) ) : val = np . asanyarray ( val , dtype = np . float64 ) return val
take val and convert/reshape to an array .