Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove first 3 columns pandas

n = 3
# Drop first N columns of dataframe
df = df.iloc[: , n:]
 
PREVIOUS NEXT
Tagged: #remove #columns #pandas
ADD COMMENT
Topic
Name
9+3 =