Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

divide column in each row by last column

df.iloc[:, 1:-1].divide(df.iloc[:,-1], axis = 'rows')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #divide #column #row #column
ADD COMMENT
Topic
Name
4+3 =