Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

squre value of a column pandas

df = pd.DataFrame({'a': range(0,100)})
np.square(df)
np.power(df, 2)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #squre #column #pandas
ADD COMMENT
Topic
Name
1+3 =