How do I leverage Spark's pipelines to find phrases in strings then add feature category?

前端 未结 0 2031
孤街浪徒
孤街浪徒 2021-01-12 05:09

I would like to search my text column in a pyspark data frame for phrases. Here is an example to show you what I mean.

sentenceData = spark.createDataFrame([
         


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