title: '~' operator in Numpy used for general condition?
body: <p>I recently came across this operator in a data analysis book that I should have read a long time ago. It is used for general conditions but I don't understand it.</p>