I have the following dataframe:
corpus = pd.DataFrame({"tweet":["@blah Check tihs out @hay! This bear loves jumping on this plant!",
"I can't bear the noise from that power plant. It makes me jump."]})
...and I want to remove the user mentions i.e. "@blah" and "@hay"
I tried the following regex but this just removed the "@":
corpus["tweet"] = [re.sub(r'^@.*\s+$',' ', str(tweet)) for tweet in corpus["tweet"]]
What's the regex that I need to use to remove the whole username rather than just the @?