i need delete first 3 rows of dataframe in pandas.
i know df.ix[:-1] remove last row, can't figure out how remove first n rows.
use iloc using ix, apply different slice...
df2 = df1.iloc[3:] #edited since .ix deprecated. will give new df without first 3 rows.
Comments
Post a Comment