Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. Question
Data Science

How to delete the first row of a dataframe in R?

Asked by David White Jun 16, 2021 1.5K views 1 answer
Share

About this question

 I have a dataset with 11 columns with over a 1000 rows each. The columns were labeled V1, V2, V11, etc. I replaced the names with something more useful to me using the "c" command. I didn't realize that row 1 also contained labels for each column and my actual data starts on row 2.

Is there a way to remove first row in r?

Your answer

1 Answer

More Data Science discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.