get squarre of dataframe values code example Example: squre value of a column pandas df = pd.DataFrame({'a': range(0,100)}) np.square(df) np.power(df, 2)