类似于 Pyspark 中的 set_index 的方法

Pyt*_*ner 6 python pyspark

pyspark DataFrame 对象中类似于pandas.DataFrame.set_index 的方法是什么?你能建议吗?