Delete the first three rows of a dataframe in pandas

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 n rows.

Use iloc:

    df = df.iloc[3:]

will give you a new df without the first three rows.

From: stackoverflow.com/q/16396903