def lines_to_numpy_array(data):
    return np.array([[float(s) for s in line.split()] for line in data])