当前位置:网站首页>Implementing fuzzy query with dataframe
Implementing fuzzy query with dataframe
2022-07-06 05:03:00 【Sheep sheep pig】
Example
1. contains function
- str contain XX
attr[attr.a_attr_single.str.contains(' coat ')]

- str With XX start
# Regular expressions
attr[attr.a_attr_single.str.contains('^ Ordinary ')]

- str With XX ending
# Regular expressions
attr[attr.a_attr_single.str.contains(' shirt $')]

2. startwith / endwith function
# With XXX start
attr[attr.a_attr_single.str.startswith(' Ordinary ')]

# With XXX ending
attr[attr.a_attr_single.str.endswith(' vest ')]

边栏推荐
- 麦斯克电子IPO被终止:曾拟募资8亿 河南资产是股东
- RTP gb28181 document testing tool
- A little knowledge of CPU, disk and memory
- 几种RS485隔离通讯的方案介绍
- What are the advantages of the industry private network over the public network? What specific requirements can be met?
- idea一键导包
- 从0到1建设智能灰度数据体系:以vivo游戏中心为例
- [lgr-109] Luogu may race II & windy round 6
- Set detailed map + interview questions
- [buuctf.reverse] 159_[watevrCTF 2019]Watshell
猜你喜欢

Postman断言

Application of Flody

Compilation and connection of shader in games202 webgl (learn from)

CUDA11.1在线安装

Flink kakfa data read and write to Hudi

Zynq learning notes (3) - partial reconfiguration

ISP learning (2)

F12 solve the problem that web pages cannot be copied

Distributed transaction solution
![[数学建模] 微分方程--捕鱼业的持续发展](/img/7c/2ab6f2a34bc2c97318537ec8e0b0c5.png)
[数学建模] 微分方程--捕鱼业的持续发展
随机推荐
The IPO of mesk Electronics was terminated: Henan assets, which was once intended to raise 800 million yuan, was a shareholder
Request (request object) and response (response object)
MPLS experiment
Simple understanding of interpreters and compilers
Compilation and connection of shader in games202 webgl (learn from)
Postman manage test cases
RTP GB28181 文件测试工具
Crazy God said redis notes
Quick sort
Some common skills on unity inspector are generally used for editor extension or others
Redis 排查大 key 的4種方法,優化必備
麥斯克電子IPO被終止:曾擬募資8億 河南資產是股東
JS quick start (II)
[lgr-109] Luogu may race II & windy round 6
RT thread analysis log system RT_ Kprintf analysis
Postman管理测试用例
Weng Kai C language third week 3.1 punch in
组播和广播的知识点梳理
On the solution of es8316's audio burst
ORM aggregate query and native database operation