Checking for a value in your dataset.

Mj Cheruiyot
Jan 25, 2021

In this case I was checking if my dataset had a question mark (?) . So after dropping all the rows with the question mark I used the code below to confirm it was all removed.

exists = ‘?’ in dfprint(exists)

If the value was dropped it outputs False.

--

--

Mj Cheruiyot

Analytics Engineer/ Data Enthusiast/ Lover of Technology