micheledpierri.com

  • HOME
    • Python
    • Statistics
    • Data Analysis
    • Machine Learning
  • WRITINGS
  • VISIONS
  • ABOUT
Home / Data Analysis / Data Cleaning
A vintage-style illustration shows a barefoot boy sweeping the floor in front of a large, weathered wall engraved with circuit-like patterns and a glowing circular center, blending an old-world atmosphere with a mysterious technological motif.

Data Cleaning

Data cleaning is the crucial phase that follows data collection in the analysis process. It employs various techniques to ensure the data is accurate and consistent for further analysis.

The data cleaning process typically includes these steps:

  • Organization of variables
  • Data quality assessment
  • Handling missing values
  • Handling duplicates
  • Handling outliers
  • Format management
  • Normalization and standardization
  • Validation

Component of data cleaning process

These points will be explored in detail on the subsequent pages.

One problem arrives even earlier than any of these steps: before a dataset can be cleaned, it has to be read correctly. A CSV exported from a hospital information system and opened with the wrong assumption about character encoding will silently corrupt every accented name, every degree symbol, every µ in a lab unit — and the corruption is often discovered only at the analysis stage, when it is expensive to fix.

A critical and often underappreciated aspect of the data cleaning process is the meticulous documentation of all actions. This documentation serves multiple purposes: it ensures transparency, facilitates reproducibility, and allows for tracking changes throughout the cleaning process. Equally important is the preservation of both the original, unaltered dataset and the modified versions produced at each stage of the cleaning process.

This comprehensive approach to data management offers several significant advantages. Firstly, if needed, it allows for the reconstruction of the initial dataset, which can be crucial for verification purposes or if errors are discovered in the cleaning process. Secondly, it enables researchers to perform comparative analyses using different versions of the cleaned data, providing insights into how various cleaning techniques might impact the final results. Lastly, this method supports the principles of open science by allowing other researchers to understand and potentially replicate the data cleaning process, thereby enhancing the overall reliability and credibility of the research findings.

Cite this article

Pierri, M. D. (2024). Data Cleaning. micheledpierri.com. Permalink

Share:Email·LinkedIn
Previous← Data FormatsNextData quality assessment →
Data Analysis
  1. Introduction to Data Analysis
  2. Data Collection
  3. Data Formats
  4. Data Cleaning
  5. Data quality assessment
  6. Missing data
  7. Duplicate data
  8. Outliers
  9. Normalization, Standardization and Scalers
  10. Organization of Variables
  11. Exploratory Data Analysis
© 2024–2026 micheledpierri.com · Privacy Policy · Impressum