X = X.map(lambda x: np.insert(x, 0, 1., axis=1) * 1.)