Learn
Practice
Projects
Free datasets
Resources
Toolkit
Pricing
Log in
Start free
Loading…
Python: Data Cleaning And Preprocessing
← All topics
Python: Data Cleaning And Preprocessing
50 exercises
·
3 free
01
Strip Whitespace From Strings
Free
→
02
Convert Column To Datetime
Free
→
03
Replace Missing With Mean
Free
→
04
Remove Duplicate Rows
Locked
→
05
Drop Rows With NaN
Locked
→
06
Normalize A Numeric Column 0-1
Locked
→
07
Encode Categorical With Get_dummies
Locked
→
08
Rename Columns
Locked
→
09
Filter Out Outliers
Locked
→
10
Convert Strings To Lowercase
Locked
→
11
Forward Fill Missing Values
Locked
→
12
Extract Substring From A Column
Locked
→
13
Replace A Pattern In Strings
Locked
→
14
Convert Multiple Columns To Numeric
Locked
→
15
Discretize A Numeric Column
Locked
→
16
Group And Sum
Locked
→
17
Sort By Multiple Columns
Locked
→
18
Drop Columns With All NaN, {'A':[1,None,3],'Empty':[None,None,None]}
Locked
→
19
Cumulative Sum Of A Column, {'B':[10,20,30]}
Locked
→
20
Pivot Data From Long To Wide
Locked
→
21
Downcast Numeric Columns
Locked
→
22
Reverse A String Column
Locked
→
23
Replace Zero Values With NaN
Locked
→
24
Reindex DataFrame To Fill Missing Indices
Locked
→
25
Map Numeric Values To Categories
Locked
→
26
Merge Two DataFrames With A Custom Suffix
Locked
→
27
Drop Rows With Too Many NaN
Locked
→
28
Keep Only Numeric Columns
Locked
→
29
Keep Top N Rows After Sorting
Locked
→
30
Clip Values Outside A Range
Locked
→
31
Randomly Sample Rows
Locked
→
32
Identify Duplicated Rows
Locked
→
33
Convert Column To Categorical
Locked
→
34
Interpolate Missing Values
Locked
→
35
Shift Column To Align Data
Locked
→
36
Convert Time String To Minutes
Locked
→
37
Trim To Largest Group Only
Locked
→
38
Boolean Mask To Remove Special Characters
Locked
→
39
Evaluate A Numeric Expression In Strings
Locked
→
40
Combine Columns Into One String
Locked
→
41
Expand Dictionary Column
Locked
→
42
Identify Numeric Columns With Non-Numeric Data
Locked
→
43
Fix Typos In A Categorical Column
Locked
→
44
Split Column With Delimiter
Locked
→
45
Replace Negative Values With Zero
Locked
→
46
Standardize A Column (Z-Score)
Locked
→
47
Drop Rows Outside A Date Range
Locked
→
48
Convert Wide Data To Long
Locked
→
49
Categorize Numeric Column By Percentile
Locked
→
50
Apply Function Element-Wise With Applymap
Locked
→