In pandas, what is an ideal way to use regex to keep substrings in a series where there is a match otherwise keep the existing string?

前端 未结 0 638
轻奢々
轻奢々 2020-12-10 03:02

I have a pandas dataframe with a series I\'d like to edit. There is a pattern in some of the strings such as this : Nathan Smith\'.

My regex pattern (?<=>)(.*?)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题