cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best way to do EDA in Databricks?

Hayley
New Contributor III
New Contributor III

Are there example notebooks to quickstart the exploratory data analysis?

2 REPLIES 2

Hayley
New Contributor III
New Contributor III

A quick way to start exploratory data analysis is to use the EDA notebook that is created when you use Databricks AutoML. Then you can use the notebook generated as is, or as a starting point for modeling. You’ll need a cluster with Databricks Runtime 10.0 ML and above.

To get the EDA notebook:

  • go to the Machine Learning Persona>select Start AutoML on the homepage
  • select your cluster
  • the type of model you are doing (Classification, Regression, Forecasting)
  • your training data from a database your metastore
  • select field that is your prediction target
  • click Start AutoML

When the model starts running, it will autogenerate and EDA file based on a sample of your data. Because you are using spark 3.2.x on this runtime, the koalas library is merged with Pandas to get better scalability. This notebook uses the pandas-profiling library, so you can edit the options of the library for additional analysis. In addition to profiling, you get feature interactions, correlations, and missing values. Even if you plan on using a different runtime for your modeling in production, this is a handy shortcut for EDA.

Kaniz
Community Manager
Community Manager

Hi @Hayley Horn​ , Thank you for the amazing informative post.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.