Python: UserWarning: This pattern has match groups. To actually get the groups, use str.extract

前端 未结 5 2230
隐瞒了意图╮
隐瞒了意图╮ 2020-12-09 16:17

I have a dataframe and I try to get string, where on of column contain some string Df looks like

member_id,event_path,event_time,event_duration
30595,\"2016-         


        
5条回答
  •  北荒
    北荒 (楼主)
    2020-12-09 16:48

    you should use re.escape(yourString) for the string you are passing to contains.

提交回复
热议问题