TGViewer
Data Analysis Books | Python | SQL | Excel | Artificial Intelligence | Power BI | Tableau | AI Resources Data Analysis Books | Python | SQL | Excel | Artificial Intelligence | Power BI | Tableau | AI Resources @learndataanalysis · 53.4K subscribers
Post #1744 1.26K
Common Data Cleaning Techniques for Data Analysts

Remove Duplicates:

Purpose: Eliminate repeated rows to maintain unique data.

Example: SELECT DISTINCT column_name FROM table;


Handle Missing Values:

Purpose: Fill, remove, or impute missing data.

Example:

Remove: df.dropna() (in Python/Pandas)

Fill: df.fillna(0)


Standardize Data:

Purpose: Convert data to a consistent format (e.g., dates, numbers).

Example: Convert text to lowercase: df['column'] = df['column'].str.lower()


Remove Outliers:

Purpose: Identify and remove extreme values.

Example: df = df[df['column'] < threshold]


Correct Data Types:

Purpose: Ensure columns have the correct data type (e.g., dates as datetime, numeric values as integers).

Example: df['date'] = pd.to_datetime(df['date'])


Normalize Data:

Purpose: Scale numerical data to a standard range (0 to 1).

Example: from sklearn.preprocessing import MinMaxScaler; df['scaled'] = MinMaxScaler().fit_transform(df[['column']])


Data Transformation:

Purpose: Transform or aggregate data for better analysis (e.g., log transformations, aggregating columns).

Example: Apply log transformation: df['log_column'] = np.log(df['column'] + 1)


Handle Categorical Data:

Purpose: Convert categorical data into numerical data using encoding techniques.

Example: df['encoded_column'] = pd.get_dummies(df['category_column'])


Impute Missing Values:

Purpose: Fill missing values with a meaningful value (e.g., mean, median, or a specific value).

Example: df['column'] = df['column'].fillna(df['column'].mean())

I have curated best 80+ top-notch Data Analytics Resources 👇👇
https://whatsapp.com/channel/0029VaGgzAk72WTmQFERKh02

Like this post for more content like this 👍♥️

Share with credits: https://t.me/sqlspecialist

Hope it helps :)
  • 👍 4
More from @learndataanalysis
  1. Sep 23, 2026✅ Types of Machine Learning Algorithms 🤖📊 1️⃣ Supervised Learning Supervised learning me…
  2. Sep 19, 2026🚀 GigaChat 3.5 Reasoning — a new open-source LLM that thinks before it answers. It breaks…
  3. Sep 16, 2026🟠 Part 12 — Dashboard Development • Dashboard layout, Tiled vs Floating, Containers, Devi…
  4. Sep 16, 2026📊 Tableau Learning Roadmap 2026 If you're starting Tableau from scratch, follow this orde…
  5. Sep 6, 2026UNPOPULAR OPINION: Excel is still relevant for data analysis. I am often asked by junior d…
  6. Aug 28, 2026✅ Power BI Basics 📊🚀 👉 Power BI is one of the most popular Business Intelligence BI too…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →