So I want to remove the first row in the data frame. my code is like
reddot.info<-reddot.info[-1,]
But then i find i can not view this data frame. i figure out the reason. because when i run code
reddot.info[1,]
if appears as
Num Product_names URL
1 NA Product Names URL
which means that if i use this code i will also remove the column names.
so what should i do to remove the first row in stead of removing the column names and first row together.
Thank you so much.
dput(reddot.info)so that we could understand your problem better ?