错误: pandas ValueError: pattern contains no capture groups
Accordingtothedocs,youneedtospecifyacapturegroup(i.e.,parentheses)forstr.extractto,well,extract.Series.str.extract(pat,flags=0,expand=True)ForeachsubjectstringintheSeries,extractgroupsfromthefirstmatc