I need to delete the first three rows of a dataframe in pandas.
I know df.ix[:-1] would remove the last row, but I can\'t figure out how to remove first
df.ix[:-1]
Use iloc:
df = df.iloc[3:]
will give you a new df without the first three rows.