how to cut rows from pandas df and do new df code example
Example 1: drop a column from dataframe
df = df.drop('column_name', 1)
Example 2: drop column dataframe
df.drop(columns=['Unnamed: 0'])
df = df.drop('column_name', 1)
df.drop(columns=['Unnamed: 0'])