我有一个数据集组成列“有用的”字符串形式的列“object”。在
Pat_ID Useful_crit
1 **inclusive range**:age 35 to 75 - type 2 diabetes **exclusive range**: type 1 diabetes
2 **inclusive range**:patients aged 21 and above **exclusive range**:patients who are mentally `
每列中的字符串由两个常用词组成,即inclusive range和exclusive range。现在,我想从同一个字符串创建两个列,分别是“inclusive range”和“exclusive range”。所以输出应该是这样的
^{pr2}$如何在python中实现这一点?在
有一个办法
相关问题 更多 >
编程相关推荐