
Explore and select data in the superstore data frame using head, info, shape, and describe to understand columns, rows, and data types; display single or multiple columns with proper capitalization.
Learn to filter rows by condition in a dataframe, using boolean masks for quantities greater than 10 or cities like Atlanta, and combine conditions with and/or to extract matching rows.
Learn to identify and handle missing values in a dataframe by discovering, dropping, or filling them, using dropna, isna, and selective column operations.
Learn to fill missing values with mean or median for numeric columns, and replace with the most frequent value (mode) or 'unknown' for categoricals, using fillna and in-place updates.
Learn to clean strings in text columns using value counts, strip, replace, and case transformations to standardize categories. Save results in category_clean and verify with value counts.
learn to convert non-date data to dates in pandas, extract year, month, day, and day of week, and compute date differences to analyze orders by year and month.
Sort data frames using df.sort_values by selecting columns and choosing ascending or descending orders. Manage multiple columns, null value positions, and ignore index options.
Learn how to use groupby in Python to analyze data by state, city, and category, performing sums, means, max, min, and multiple aggregations.
This course teaches you how to clean and prepare real-world data using Python and pandas in a simple, practical way. You will start from raw, messy datasets and learn step by step how to handle missing values, remove duplicates, fix inconsistent text, and correct common data quality issues. By the end of the course, you will have a reusable data cleaning workflow that you can apply to any dataset before analysis or reporting.
Lessons / sections (bullet points)
Introduction and setup: Install Python or use Google Colab, load datasets, and overview of pandas.
Data inspection and quality check: Explore data structure, types, and detect basic issues.
Handling missing and null values: Identify missing data and apply different strategies to deal with it.
Removing duplicate records: Find and safely remove duplicates based on full rows or key columns.
Removing duplicate records: Find and safely remove duplicates based on full rows or key columns.
Cleaning text and categorical data: Standardize lower/upper case, trim spaces, fix inconsistent categories.
Fixing data types and formats: Convert columns to numbers, dates, and categories correctly.
Handling dates like years months days and seasons by extracting part of dates
Handling and cleaning columns names
Prepare cleaned data for analysis in the upcoming steps