Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

subtract from dataframe

#To subtract 1 from all columns of dataframe
df.sub(1)
 
PREVIOUS NEXT
Tagged: #subtract #dataframe
ADD COMMENT
Topic
Name
6+3 =