subtract from dataframe

Solutions on MaxInterview for subtract from dataframe by the best coders in the world

showing results for - "subtract from dataframe"
Luna
08 Jul 2020
1#To subtract 1 from all columns of dataframe
2df.sub(1)