pyspark dataframe column value replace with index in another list in pyspark version 2.3

前端 未结 0 1363
没有蜡笔的小新
没有蜡笔的小新 2021-02-12 01:50

I have a pyspark dataframe with column values as a list .I need to replace the values in the list with index based on another python list

outer_list = [b,c,a,e,f         


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