Удаление всех рядов в пандах
# df is a data frame. like df = pd.read_csv('file.csv')
df.drop(df.index[:], inplace=True)
AMi
# df is a data frame. like df = pd.read_csv('file.csv')
df.drop(df.index[:], inplace=True)