Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PREVIOUS NEXT
Code Example
Python :: how to download file in python 
Python :: codeforces 677a solution 
Python :: python temporary files 
Python :: dask show progress bar 
Python :: how to read a .exe file in python 
Python :: python blowfish 
Python :: how to make python speak 
Python :: pandas select data conditional 
Python :: django querset group by sum 
Python :: pygame keys pressed 
Python :: python - count number of values without dupicalte in a second column values 
Python :: how to add 2 dates in python 
Python :: command prompt pause in python 
Python :: pandas dataframe print decimal places 
Python :: python change cmd title 
Python :: tqdm parallel 
Python :: python print 
Python :: plot bounds python 
Python :: location of python in cmd 
Python :: python strip newline from string 
Python :: numpy print options 
Python :: jupyter notebook set default directory 
Python :: set text and background color in pandas table 
Python :: scoop bucket add extras 
Python :: python numpy kurtosis 
Python :: get current time python 
Python :: how to write to a file in python without deleting all content 
Python :: exit all threads from within a thread python 
Python :: pickle.loads in python 
Python :: python voice recognition 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =