julioasotodv / spark-df-profiling

Create HTML profiling reports from Apache Spark DataFrames
MIT License
195 stars 77 forks source link

Error - 'DataFrame' object has no attribute 'sort_values' #5

Closed zakipatel closed 7 years ago

zakipatel commented 8 years ago

Running on Spark 2.0:

When i run the following command on a data frame with one integer column, I get a a result.

report = spark_df_profiling.ProfileReport(df)

However, if there are additional (non-integer) columns in the data frame, i get the error : - 'DataFrame' object has no attribute 'sort_values'

julioasotodv commented 8 years ago

Hi again!

Just like with six, make sure you are running at least pandas 0.17. Take a try and let me know if it works!