drop row with index pandas code example Example: drop a column from dataframe df = df.drop('column_name', 1)