📜  pandas 显示带有正则表达式的列 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:16.740000             🧑  作者: Mango

代码示例6
# Get countries starting with letter P
S=pd.Series(['Finland','Colombia','Florida','Japan','Puerto Rico','Russia','france'])
S[S.str.match(r'(^P.*)')==True]