Online · Sengkang · Singapore

Digital Animation and Graphic Design Course for Kids in Sengkang, Singapore

A digital animation and graphic design course for kids in Sengkang covers Canva layout skills and OpenToonz-style 2D frame animation—building spatial reasoning that also supports robotics and interface thinking.

Animation Sengkang

1. Introduction: The Reality of Real-World Data

Client and system data often arrive with missing or null values from recording failures, corruption, or uncollected fields. Models and stats break or give wrong results if nulls are ignored, so finding and fixing missing data is a core preprocessing step.

  • Detect: df.info(), df.isna().sum()
  • Impute (preferred): numeric → mean/median; categorical → mode
  • Drop when needed: df.dropna(subset=[...], inplace=True)

2. Dataset Overview: retail_sales.csv

Six features: Date, Category, Sales, Quantity, Profit, Region. Ideal would be 1,825 fully filled rows; in practice several columns have nulls that must be resolved systematically.

3. Detecting Missing Data in Pandas

A. Non-null counts with df.info()

import pandas as pd

df = pd.read_csv("retail_sales.csv")
df.info()

Example: total 1,825 rows; Sales might show 1,823 non-null (2 missing); Region 1,821 non-null (4 missing).

B. Exact null counts with df.isna().sum()

missing_counts = df.isna().sum()
print("Missing values per column:")
print(missing_counts)

isna() marks nulls as True; .sum() counts them per column. Typical pattern: Date/Category often complete; Sales, Quantity, and Region may have a few nulls.

4. Two Strategies for Handling Missing Values

  1. Drop rows that contain nulls
  2. Impute (fill) with estimated values — preferred when a reliable fill is possible

Imputation keeps other columns in the same row and preserves training volume; dropping shrinks the dataset.

5. Strategy 1: Imputation with Basic Statistics

  • Numeric (Sales, Profit): mean or median — e.g. df['Sales'].fillna(df['Sales'].median())
  • Categorical (Category, Region): mode — e.g. df['Category'].fillna(df['Category'].mode()[0])

A. Quantity with mode

df["Quantity"] = pd.to_numeric(df["Quantity"])
quantity_mode = df["Quantity"].mode()[0]
df["Quantity"] = df["Quantity"].fillna(quantity_mode)

.mode() returns a Series; use index 0 for the most frequent value.

B. Sales with median

sales_median = df["Sales"].median()
df["Sales"] = df["Sales"].fillna(sales_median)

Median is robust to outliers in continuous financial columns.

C. Category with mode

category_mode = df["Category"].mode()[0]
df["Category"] = df["Category"].fillna(category_mode)

After filling, df.info() and df.isna().sum() should show full non-null counts for those columns.

6. Strategy 2: Dropping Rows with dropna()

When a field cannot be imputed reliably (e.g. critical Region values), drop those rows:

df.dropna(subset=["Region"], inplace=True)

print("Final Missing Counts Across All Columns:")
print(df.isna().sum())
  • subset=['Region'] — only rows with null Region are removed
  • inplace=True — updates the DataFrame in place

A final isna().sum() of zeros means the table is ready for EDA and modeling.

Lesson Q&A

df.info() shows non-null counts per column against the total row count. df.isna().sum() counts nulls exactly by treating True as 1 for each missing cell.

Imputation keeps the rest of each row and preserves sample size. Use mean or median for numeric columns (Sales, Profit) and mode for categorical columns (Category). Take .mode()[0] because mode returns a Series.

Use dropna() when values cannot be estimated reliably (e.g. missing Region). subset=['Region'] limits drops to that column. inplace=True applies the change on the original DataFrame so later steps use the cleaned data.

What children can learn

WhatsApp +92 322 421 7059

AI and Robotics Club | The 100 Mission AI & Robotics Hero Journey

Recommended self-paced course for parents & educators

Canva for Kids AI on Udemy.

Disclosure: This page contains affiliate links. We may earn from qualifying purchases at no extra cost to you. Links are intended for parents and educators, not as marketing directed at young children.

Frames and Layouts: Creative Logic for North-East Singapore Learners

Sengkang families seeking creative tech can use animation as a gateway to sequential logic. Timing, layers and storyboards train the same patience used in debugging robots. Enquire +92 322 4217059. We do not invent a Sengkang studio or guaranteed portfolio awards.

Frequently asked questions

What digital design tools are covered in the Sengkang kids animation course?

Students master graphic layout, character design, and poster creation in Canva for Kids, while learning 2D frame-by-frame animation techniques in OpenToonz.

How does creative animation support technical robotics learning for Sengkang students?

Animation teaches spatial reasoning, storytelling, and sequential logic—essential skills that help students design user interfaces and 3D robot models.

How do we sign up for a trial animation class from Sengkang, Singapore?

Tap our WhatsApp contact link to claim a free introductory trial slot and review sample student animation portfolios.

Explore related learning

TanglinScratch · Tanglin Tampines AIAI · Tampines BedokmBlock · Bedok