re 不能在list 或者dataframe查找?

  统计/机器学习 Python    浏览次数:1833        分享
0

有没有在dataframe/list

中找keywords的方法呢 ,这个keywords可能只是dataframe/list的一部分

 

constant007   2019-06-18 17:30



   1个回答 
0

pandas的series或者dataframe有contain这个功能,应该就是题主要的

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.str.contains.html

SofaSofa数据科学社区DS面试题库 DS面经

abuu   2019-06-20 00:32



  相关讨论

有nonetype的list怎么转str

python报错:'list' object has no attribute 'Angle',求教

返回python list里各个元素的大小排序?

python字符串形式的数值转成单个整数的list,怎么操作?

python如何把list中的item作为变量的后缀 从而产生for中的动态变量名

怎么把字符串形式的list转成真的list

python怎么对list中的元素做连乘?

怎么把pandas dataframe中的一列转成一个list?

python里怎么把中文字符串转化为成list

如何把一个pandas的dataframe的columns转换成list

  随便看看

deep learning中的pooling是什么意思?

AIC可以是负数吗?

什么是SMOTE sampling方法?

求多个torch tensor的平均值

yolo v4和yolo v3的主要区别是什么?