Advanced String Searching including RegEx (Pandas Tutorials 06)

preview_player
Показать описание
Join this channel to get access to perks:

If you enjoy this video, please subscribe.

If there's a specific video you would like to see or a tutorial series, let me know in the comments and I will try and make it.

You can follow me at:
Рекомендации по теме
Комментарии
Автор

Can I use this method in an if statement?
I'm trying to do something like this:
if df['Description'].str.contains('Restaurant'), case=False, regex=True) == True:
df['Category'] = 'Food'

gpegasusm
Автор

thank you very much, youre the only one I found who explains the regex part clearly!!!!

jorgebm
Автор

I want to compare two columns which string based if any string matches print yes else no

punamjadhav
Автор

if i need to replace 'Rev.' to, for example, 'Cev' what should i do?

delkaaaa