📜  python 检查数据框系列是否包含字符串 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:26.437000             🧑  作者: Mango
代码示例2
mel_count=a['Names'].str.contains('Mel').sum()
if mel_count>0:
print ("There are {m} Mels".format(m=mel_count))