All 7 Coding Games Hub
DATA SCIENCE • MLPhase 3 • Data Science

Data Science, Pandas & Churn ML Lab

Clean missing null values, run GroupBy aggregations on SaaS MRR tiers, and code a churn-risk classifier in Python or JavaScript.

easy

Data Science 01: Clean Missing Nulls & Mean

Your training dataset has null session durations. Impute or drop nulls before training your churn model. Write cleanAndMean(values) that filters out null/undefined/NaN values and returns the rounded mean (2 decimals).

SYNTAX SPECIFICATION:Filter valid numbers, compute average, round with Math.round(avg * 100) / 100
javascript.js
2 LINES
1
2
EXECUTION TERMINAL & ASSERTIONS0 LOGS
Sandbox ready
DATA SCIENCE & ML LAB
easy
LIVE SYSTEM TOPOLOGY
NODE 01
Raw CSV
NODE 02
Null Drop
NODE 03
Mean Impute
NODE 04
Clean Series
EXECUTION TRACE & ASSERTIONS

Write your solution on the left and press Run Pipeline to test all nodes.

2 deterministic verification cases queued

AEO OVERVIEW • DATA SCIENCE • ML

Executive Summary & Direct Answer:

The Data Science, Pandas & Churn ML Lab is a lightweight browser coding game where learners clean null datasets, compute GroupBy revenue aggregations, and build churn-prediction logic in Python or JavaScript with instant node-flow verification.

KEY TECHNICAL SPECIFICATIONS & METRICS:
  • Hands-on real-code practice in Data Cleaning
  • Hands-on real-code practice in GroupBy Aggregations
  • Hands-on real-code practice in Churn Prediction ML
  • Hands-on real-code practice in Python & JS
Citation Source: Verified by Sheharyar Siraj | Principal Architect
CONTINUE PRACTICING

Related Interactive Coding & Data Games

Explore All 7 Games
Need a production system built with these skills?
GAME FAQ

Frequently Asked Questions

No. It uses a fast in-browser Python-to-JS transpiler and deterministic assertion engine so it loads instantaneously on both desktop and mobile.