我正在尝试将数据帧保存到对象存储:
print(type(saveDF))
<class 'pyspark.sql.dataframe.DataFrame'>
然后:
^{pr2}$结果:
TypeErrorTraceback (most recent call last)
<ipython-input-90-d20d6b31a2d4> in <module>()
1 ----> saveDF.write().csv("pre-processed")
TypeError: 'DataFrameWriter' object is not callable
我已经看到了很多其他问题,但这些问题使用了另一种方法来保存为csv。在
这个问题很简单。而不是这样:
应该是:
^{pr2}$相关问题 更多 >
编程相关推荐