i have a dataframe with the data as follows
id Name Age
0 1 XXX 30
and i have to remove the 0(the row index value) from the dataframe.
I have tried the folowing
df.reset_index(inplace=True) # Resets the index, makes factor a column
df.drop("Factor",axis=1,inplace=True)
but it is not removing the 0.
i want output like:
id Name Age
1 XXX 30