'Bitwise operator ~condition

What's the meaning difference between these two? Could you please explain it a bit?

data[~data['employment'].isnull()
data[data['employment'].isnull()

Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source