python - pandas snippet 01

以下命令可以找到列中对应的字母,替换成空字符

data['CUSIP'].replace("[t,w]", "", regex=True)
posted @ 2020-03-19 14:58  iihciyekub  阅读(133)  评论(0编辑  收藏  举报