Finding text patterns in Pandas with regular expressions

preview_player
Показать описание
Working with text in Pandas? Did you know that many methods allow you to use regular expressions to describe patterns, rather than explicit text? In this video, I explore what that means, and give some examples.
Рекомендации по теме
Комментарии
Автор

Why s.replace('is', 'IS', regex=True) and s.replace('is', 'IS') give different results for s = pd.Series('this is a buch of words'.split())

tyl
Автор

Hi Reuven, why is it that when I try to create that Series, I get, "AttributeError: 'Series' object has no attribute 'split'"?

jaysonnolastname