📅  最后修改于: 2022-03-11 15:03:41.477000             🧑  作者: 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]