我想知道 PySpark 中与reset_index()pandas 中使用的命令的等效性。当使用默认命令(reset_index)时,如下:
reset_index()
reset_index
data.reset_index()
我收到错误:
“DataFrame”对象没有属性“reset_index”错误”
python python-3.x apache-spark apache-spark-sql pyspark
apache-spark ×1
apache-spark-sql ×1
pyspark ×1
python ×1
python-3.x ×1