嗨,我想包装一整篇专栏的文本,因为它太长了。我怎样才能做到这一点。这是我得到的输出:
这就是我写的代码:df2 = df2[["control_name", "rationale"]]
# Convert the dataframe to an XlsxWriter Excel object.and skip one
所以我试着把熊猫的数据转换成一个RDD,如下所示:spDF = sqlContext.createDataFrame(df['A'spDF.show()TypeError: Can not infer schema for type: <type 'unicode'>
我去是为了看看是否有类似于编码参数的东西是否知道如何将特定的熊猫数据栏转换为