pyspark.sql.Row 使用 dictionary 初始化的方法 “TypeError: sequence item 0: expected string, dict found”
frompyspark.sqlimportRowrow_dict={'C0':-1.1990072635132698,'C3':0.12605772684660232,'C4':0.5760856026559944,'C5':0.1951877800894315,'C6':24.72378589441825,'summary':'kurtosis'}new_row=Row(row_dict)上面这