Str.contains returning warning

Hi, I’m using a local anaconda+jupyter notebook setting and when I execute the code below I get the immediate error.

I don´t get the same error on Dataquest, coud someone please, elaborate on that?

You’re probably on a different version than the one we use at Dataquest.

You can print pandas.__version__ to see the version in each environment.

My version is ‘0.23.0’.

You can check that we’re on version 0.22 in app.dataquest.io.