摘要:
where 表示不满足条件的,被设置为指定值 mask 与where相反,满足条件的数据,被设置为指定值 示例代码: import pandas as pd import numpy as np # 生成数据: df = pd.DataFrame(np.arange(15).reshape((5, 阅读全文
posted @ 2020-07-16 11:50
jaysonteng
阅读(2326)
评论(0)
推荐(0)
浙公网安备 33010602011771号