Data Cleaning with ECDF Statistics in Python (Explanation and Example) @DataScienceGarage
Data Cleaning with ECDF Statistics in Python (Explanation and Example)  @DataScienceGarage
Uploaded September 2018 | Updated September 2026, 2 weeks ago
This time I decided to demonstrate how I use ECDF (Empirical Cummulative Distirbution Function) for Data Cleaning with Real Data (real estate data scrapped by my own scrapper: youtube.com/watch?v=pqAdxZWFkTM

For this I use Numpy, Pandas and Matplotlib Python modules.
The main idea is ECDF helps us to detect data outliers, in other words - data noise that must be removed from original (raw) dataset. This called as an iteration.
After each iteration data get more and more clear. This is one of most technique for Data Preproccessing (Data Cleaning) based on Statistics mostly.

For making code more structured I divided the whole algorithm to separate sections. Important procedures (ECDF, calculate percentiles, plot the data) are defined as Python definition with input arguments.

I think that ECDF graph is the best way to plot the data distribution for data exploration purposes.

Example showed in the end of video: linkedin.com/feed/update/urn:li:activity:6390315794722537472

Whole code is written in Python programming language on framework of Jupyter Notebook.

Our task in here is get as a real data that less or more correspond the normal distribution. This type of observation distribution will works with further analyses.

After Data Cleaning by using ECDF Statistics method you can easily apply Machine Learning (ML), Deep Learning (DL), Exploratory Data Analysis (EDA, Data Exploration) and other algorithms for your data analysis. Hope this will be useful for Data Analyst, Data Scientist and for all who are in passion about data world.

Also, I explain why almost all the time better use statistical Median tha Average. It is based on my calculations.

Vytautas
linkedin.com/in/bielinskas
Data Cleaning with ECDF Statistics in Python (Explanation and Example)Digits Classification with Random Forest  Example in 10 minutesImplement DBSCAN Clustering and detecting OUTLIERS with PythonFind Outliers with AutoEncoder - Full Tutorial (Hands-on and Theory)Deploy Flask application to AWS Elastic Beanstalk as a web app. | PART #2Prepare datasets with drawdata Python Module | Cool Python Tool in Jupyter NotebookGoogle Cloud Storage Services. Which to choose? Hints for GCP Data Engineering ExamHow to Use apply() function to Return Multiple Columns in Pandas DataFrameMultivariate Time Series Prediction with LSTM and Multiple features (Predict Google Stock Price)Change Theme for Jupyter Notebook Python. Easy steps.AWS Certified Machine Learning - Specialty. Exam Readiness | Quick OverviewGIS ArcMap: How to create a traffic flows cartogram by using Buffers
Data Science Garage |

Data Cleaning with ECDF Statistics in Python (Explanation and Example)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER