Код: Выделить всё
newRDD = rdd.map(lambda row: Row(row.__fields__ + ["tag"])(row + (tagScripts(row), )))
df = newRDD.toDF()Код: Выделить всё
'list' object has no attribute 'encode'< р>
Код: Выделить всё
newRDD = rdd.map(lambda row: Row(row.__fields__ + ["tag"])(row + (tagScripts(row), )))
df = newRDD.toPandas()Код: Выделить всё
AttributeError: 'PipelinedRDD' object has no attribute 'toPandas'Подробнее здесь: https://stackoverflow.com/questions/449 ... -dataframe
Мобильная версия