摘要: def my_test(a, b): return a + b df['value'] = df.apply(lambda row: my_test(row['c1'], row['c2']), axis=1) 转载 https://blog.csdn.net/guotong1988/article 阅读全文
posted @ 2020-08-06 12:18 HuaBro 阅读(2610) 评论(0) 推荐(0)
摘要: 很多人都用过jupyter工具,代码分块调试利器。 下面介绍如何按照Python库,以fuzzywyzzy为例 通俗点就是pip前面加上英文感叹号。 # 安装 !pip install fuzzywuzzy # 卸载 !pip uninstall fuzzywuzzy -y 一句话,卸载后面加上-y 阅读全文
posted @ 2020-08-06 10:28 HuaBro 阅读(792) 评论(0) 推荐(0)