当前位置:主页 > 软件编程 > Python代码 >
时间:2021-06-09 08:06:22 | 栏目:Python代码 | 点击:次
如下所示:
df = pd.read_csv(‘hahaha.csv') df[df>0] = 1 print(df)