dfpath=df[df['mm'].str.contains('20180122\d')].values dfplist=np.array(dfpath).tolist() 转载于:https://www.cnblogs.com/mahailuo/p/8336911.html