What does this do in python?
df['Name'].str.replace('\W', ' ')
df['Name'].str.replace('_', ' ')
df['Name'].str.replace(' ', ' ')
Does \W remove "=" from a string? I have a script and I'm trying to figure out where the "=", ",", and more get removed from my strings.
Can anyone explain what would remove this punctuation?