Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- listings = read.csv('listings.csv')
- print(listings)
- days <- c('Mon', 'Tue', 'Wed', 'Thur', 'Fri')
- temp <- c(20, 30, 20, 24, 25)
- rain <- c(T, F, F, F, T)
- df <- data.frame(days, temp, rain)
- write.csv(df, file = 'days.with.temps.csv')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement