• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 22 pages
Exam (elaborations)

WGU D599 Task 1: Data Profiling and Cleaning | Complete Revised Report, Python Code & Data Analysis | 2026/2027 Updated with complete solutions.

Document preview thumbnail
Preview 3 out of 22 pages

WGU D599 Task 1: Data Profiling and Cleaning | Complete Revised Report, Python Code & Data Analysis | 2026/2027 Updated with complete solutions.

Content preview

TASK 1: DATA PROFILING AND CLEANING – COMPLETE
REVISED REPORT
A. INTRODUCTION – PURPOSE – BUSINESS CONTEXT
Purpose: Profile and clean raw dataset to prepare for
analysis – Ensure data quality – Address missing values,
duplicates, outliers, inconsistent formats, invalid values –
Document steps for reproducibility – Provide clean
dataset for Task 2 and 3
Example Dataset: Use your assigned WGU D599 Task 1
dataset – e.g., E-commerce Transactions, Retail Sales,
Customer Churn, Marketing Campaign – Example here
uses E-commerce Retail – 1000 rows – 10 columns –
TransactionID, CustomerID, Product, Category, Quantity,
UnitPrice, OrderDate, Country, PaymentMethod,
CustomerAge – Replace with your actual D599 file –
Same workflow applies
Business Question: Data quality issues impact revenue
analysis – Need clean data to accurately calculate total
sales, identify top products, customer segmentation
Deliverables for Task 1:

, • Profiling report – Shape, data types, missing,
duplicates, outliers, descriptive stats
• Cleaning steps – Code + justification
• Clean dataset – CSV export
• Revised report documenting before/after
B. DATA PROFILING – PYTHON – FULL CODE – BEFORE
CLEANING
Step 1: Import Libraries – Load Raw Data
Python
import pandas as pdimport numpy as npimport
matplotlib.pyplot as pltimport seaborn as snsfrom
datetime import datetime
13 lines hidden
Step 2: Missing Values Analysis
Python
print("\n=== MISSING VALUES ===")missing_count =
df_raw.isnull().sum()missing_percent =
df_raw.isnull().mean()*100missing_report =
pd.DataFrame({'MissingCount': missing_count,

, 'MissingPercent': missing_percent})missing_report =
missing_report[missing_report['MissingCount']>0].sort_v
alues(by='MissingPercent', ascending=False)
10 lines hidden
Step 3: Duplicates
Python
print("\n=== DUPLICATES ===")dup_count =
df_raw.duplicated().sum()print(f"Exact duplicate rows:
{dup_count} –
{dup_count/len(df_raw)*100:.2f}%")print(f"Duplicate
TransactionID:
{df_raw['TransactionID'].duplicated().sum()} – Should be
0 – Primary key")
3 lines hidden
Step 4: Descriptive Statistics – Numerical
Python
print("\n=== DESCRIPTIVE – NUMERICAL ===")numerical
=
df_raw.select_dtypes(include=['int64','float64']).columns.
tolist()print(df_raw[numerical].describe())# Outliers

Document information

Uploaded on
October 25, 2026
Number of pages
22
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$16.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
36
Followers
3
Items
3027
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions