Pyspark - Check column string against list of words and remove

前端 未结 0 404
心在旅途
心在旅途 2020-12-19 16:31

PySpark Version 2.4.3 AWS Glue

I have a list of words(patterns):

to_remove = [\'_test1"\',\'_test2\',\'_test3\']

and a DF like so

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