How to compare columns in pandas

Опубликовано: 21 Октябрь 2020
на канале: Chart Explorers
18,344
176

In this video we go over how to compare columns in a pandas DataFrame. We also go over some issues to look out for when compare column values.

We create a new column with Boolean values to indicate everywhere that our comparison was satisfied.

We also discuss how to use arithmetic with Boolean values.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
$15 off Annual Dataquest subscription
app.dataquest.io/referral-signup/qybqz3r8/
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Did you find this video helpful? Consider subscribing for weekly tips, tricks, and tutorials.
   / @chartexplorers  

0:00 Intro
0:08 Setup
0:27 Compare Columns
0:53 Operators
1:04 Gottcha
127 Arithmetic & Boolean