R Excercise
Command to import data from excel and round of columns value.
exceldata=read_excel("C:\\Users\\nilkanth.chapole\\Documents\\product_list.xlsx")
dfdata=data.frame(exceldata)
dfround <- purrr::modify_if(dfdata, ~is.numeric(.), ~round(., 0))
dfdata
dfround
Comments
Post a Comment