Remove one row from dataframe in R
temp1 = temp1[-1,, drop=F]
str(temp1)
'data.frame': 2 obs. of 1 variable:
$ Hamburg: chr "4562" "4604"
The default is T, which reduces the data.frame to its smallest dimension How do I extract a single column from a data.frame as a data.frame?