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

Popular posts from this blog

Clear Understanding on Sin, Cos and Tan (Trigonometric Functions)

Clear Understanding on Mahalanobis Distance

Vignettes for Matrix concepts, related operations