subtract from dataframe

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "subtract from dataframe"
Luna
08 Jul 2020
1#To subtract 1 from all columns of dataframe
2df.sub(1)