1.10 Resetting Dataframe Index
In the previous post, we deleted some rows from our dataframe i.e. we have removed rows 14 and 15 but at the same time row number is also vanished for 14 and 15 as like IDs.

Hence rows also have not been auto adjusted. So, how do we fix up the row names?
Very simple.

There is other way as well. Just put rownames(fin) as NULL.

Hence rows also have not been auto adjusted. So, how do we fix up the row names?
Very simple.
There is other way as well. Just put rownames(fin) as NULL.
Comments
Post a Comment