Checking for a value in your dataset.
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.