KDnuggets

3 Pandas Tricks for Data Cleaning & Preparation (opens in new tab)

Covers pandas

In this article, we will walk through three essential Pandas tricks to clean and prepare your data efficiently: declarative method chaining, memory and speed optimization via categoricals and vectorized string accessors, and group-aware imputation using .transform().

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help