Reputation: 8554
I would like to do the opposite of this :
data[data.ip.str.contains(':')]
Any ideas?
Upvotes: 1
Views: 1028
Reputation: 2145
Use the ~ character like so:
~
data[~data.ip.str.contains(':')]
Upvotes: 2