python 获取数据和替换要怎么修改
发布网友
发布时间:2022-04-27 10:49
我来回答
共2个回答
热心网友
时间:2023-09-14 04:51
方法:遍历每一行,判断条件,执行修改
for i in range(len(data)):
line=data.iloc[i,:]
if line['date']in (20170416,20170417,20170418,20170616,20170617,20170618,20170816,20170817,20170818,20171109,20171110,20171111):
热心网友
时间:2023-09-14 04:52
在文件中获取还是?