def _rows_to_ndarray(cursor):
 return np.squeeze(np.array([row[3:] for row in cursor.fetchall()]))

def _rows_to_ndarray ( cursor ) : return np . squeeze ( np . array ( [ row [ 3 : ] for row in cursor . fetchall ( ) ] ) )
convert sql row to ndarray .