R fastest way to convert an entire data table to lower case

前端 未结 0 1916
孤独总比滥情好
孤独总比滥情好 2021-02-09 12:08

I have a function written as:

setlower <- function(df) {
  for(j in seq_along(df)){
    data.table::set(df, j=j, value=stringi::stri_trans_tolower(df[[j]]))
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题