remove rows with zero entries in python dataframe code example Example: remove 0th row pandas df1 = df.iloc[1:]