I'd like to know equivalence in PySpark to the use of reset_index()
command used in pandas. When using the default command (reset_index
), as follows:
data.reset_index()
I get an error:
"DataFrame' object has no attribute 'reset_index' error"