how to add headings to data in pandas

Solutions on MaxInterview for how to add headings to data in pandas 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 - "how to add headings to data in pandas"
Cali
05 Nov 2020
1Cov = pd.read_csv("path/to/file.txt", sep='\t')
2Frame=pd.DataFrame(Cov.values, columns = ["Sequence", "Start", "End", "Coverage"])
3Frame.to_csv("path/to/file.txt", sep='\t')