Excluindo todas as linhas em pandas
# 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)