【发布时间】:2020-12-07 04:04:15
【问题描述】:
我有一个包含以下内容的数据框:
movieId / movieName / genre
1 example1 action|thriller|romance
2 example2 fantastic|action
我想获得第二个数据帧(来自第一个),其中包含以下内容:
movieId / movieName / genre
1 example1 action
1 example1 thriller
1 example1 romance
2 example2 fantastic
2 example2 action
我们如何使用 pyspark 做到这一点?
【问题讨论】: