I have a dataframe as following :
df <- data.frame(month = c("mazda miata 2017", "honda civic 2017"),
                 april = c(.1,.2),
                 may = c(.1,.2)) 
        month april may
1     miata     0.1 0.1
2     civic     0.2 0.2
I would like to rename mazda 3 as mazda and honda civic as honda. How can this be done using dplyr 
 
     
     
     
     
    