Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete header row

print df.shape[1]          # Show dimension of thecolumns
print range(df.shape[1])   # Show range of the columns

df.columns = range(df.shape[1])   # Delete headers
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #delete #header #row
ADD COMMENT
Topic
Name
5+1 =