set header in dataframe 2nd line

Solutions on MaxInterview for set header in dataframe 2nd line 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 - "set header in dataframe 2nd line"
Miguel
27 Jan 2017
1In [23]: df.columns = df.iloc[1]