Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add headings to data in pandas

Cov = pd.read_csv("path/to/file.txt", sep='	')
Frame=pd.DataFrame(Cov.values, columns = ["Sequence", "Start", "End", "Coverage"])
Frame.to_csv("path/to/file.txt", sep='	')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #headings #data #pandas
ADD COMMENT
Topic
Name
7+5 =