【发布时间】:2021-10-11 02:24:26
【问题描述】:
我看到了这个错误:
位置 1 处的未知扩展 ?Pd
在
temp_nums = weather["temp"].str.extract("(?Pd+)", expand=False)
weather["temp_num"] = temp_nums.astype('int')
temp_nums
【问题讨论】:
标签: kaggle
我看到了这个错误:
位置 1 处的未知扩展 ?Pd
在
temp_nums = weather["temp"].str.extract("(?Pd+)", expand=False)
weather["temp_num"] = temp_nums.astype('int')
temp_nums
【问题讨论】:
标签: kaggle
在上面写着(?Pd+) 的地方,输入(?P<temp_num>\d+) 而不是像他们在这个上所做的那样
example.
【讨论】: