0
我如何能匹配下面有大熊貓extractall正則表達式:大熊貓extractall匹配
stringwithinmycolumn
stuff, Duration: 15h:22m:33s, notstuff,
stuff, Duration: 18h:22m:33s, notstuff,
目前,我使用的是下面:
df.message.str.extractall(r',([^,]*?): ([^,:]*?,').reset_index()
預期輸出:
0 1
match
0 Duration 15h:22m:33s
1 Duration 18h:22m:33s
目前我無法比擬。