📅  最后修改于: 2022-03-11 14:45:13.974000             🧑  作者: Mango
# Get countries starting with letter P
S=pd.Series(['Finland','Colombia','Florida','Japan','Puerto Rico','Russia','france'])
S[S.str.match(r'(^P.*)')==True]