Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

drop columns pandas dataframe

df.iloc[row_start:row_end , column_start:column_end]
#or
data.drop(index=0) 
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #drop #columns #pandas #dataframe
ADD COMMENT
Topic
Name
6+8 =