This is a copy and paste line from a data science experiment I am trying to run.
for col,num in zip(df.toPandas().describe().columns(),range(1,11)):
It shows output but not on Databricks.
Error is:
TypeError: 'Index' object is not callable
Any ideas?
question from:https://stackoverflow.com/questions/65600924/pyspark-index-object-is-not-callable