python delete header row

Solutions on MaxInterview for python delete header row by the best coders in the world

showing results for - "python delete header row"
Elías
07 Feb 2019
1print df.shape[1]          # Show dimension of thecolumns
2print range(df.shape[1])   # Show range of the columns
3
4df.columns = range(df.shape[1])   # Delete headers