The first step in data preprocessing is to develop a deep understanding of your dataset through exploratory data analysis. This process is typically unstructured, but there are some basic questions that should be answered every time.

We should also aim to identify issues that must be addressed during the data cleaning phase.

Prior to starting, we must have some “domain knowledge” of what the dataset is all about. If we do not, we should gather more context on the problem and data.

To begin, we should understand the size of our dataset and the information it contains.

Next, we should understand the basic statistics of our numerical values.

During this process we should identify missing values, outliers, and errors in the dataset, as these can lead to serious issues during training. We must address these during data cleaning.

Finally, we should build many visualizations, as these will help us quickly identify patterns that exist in our data. Common examples include:
Barcharts:

Histograms:

Box Plots:

Scatter Plot:

Correlation matrix:

By the end of the EDA process, you should understand: The nuances of your dataset, the issues that must be resolved, and the new features you want to create from the existing data.