Normalize columns of pandas data frame,df = df / df.loc[df.abs().idxmax()].astype(np.float64)