2019年9月21日

replace()函数

摘要: 1 替换series中的值 https://jingyan.baidu.com/article/454316ab4d0e64f7a6c03a41.html 2 替换str中的字符 s = 'abcdaaa' # 注意不会在原数据上直接修改,要重新赋值 s = s.replace('a','A') p 阅读全文

posted @ 2019-09-21 14:32 吃我一枪 阅读(263) 评论(0) 推荐(0) 编辑

导航