Комментарии:
I want to compare two columns which string based if any string matches print yes else no
Ответить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'
if i need to replace 'Rev.' to , for example, 'Cev' what should i do?
ОтветитьThanks for the video, very helpful
Ответитьthank you very much, youre the only one I found who explains the regex part clearly!!!!
ОтветитьWell explainedd
ОтветитьThank you!
ОтветитьThanks for the great content 🙏
Ответить