Converting data frame columns in category type in pyspark

后端 未结 0 1916
甜味超标
甜味超标 2021-02-13 17:57

I have a data frame df and there I want to convert some columns into category type. Using pandas I can do it like below way:

    for col in categorical_collist:
          


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