Here is the current dataframe as shown in the pic. above.
i want new dataframe with columns as month1, month2, month3.... month5
here is the pic of output dataframe that is required
Here is the current dataframe as shown in the pic. above.
i want new dataframe with columns as month1, month2, month3.... month5
here is the pic of output dataframe that is required
You can do the following:
df = df.drop(0, axis=0)
or inplace, like:
df.drop(df.index[0], axis=0, inplace=True)