pandas drop line -site:medium.com -site:towardsdatascience.com code example
Example 1: remove 0th row pandas
df1 = df.iloc[1:]
Example 2: remove a column from dataframe
del df['column_name'] #to remove a column from dataframe
df1 = df.iloc[1:]
del df['column_name'] #to remove a column from dataframe