- 博客(3)
- 资源 (10)
- 收藏
- 关注
原创 scv文件单元格内存在换行符
scv文件单元格内存在换行符错误代码:for i in range(4): path = "E:\\hanjia\\shiyansuodeshuju\\1\\data" + str(i+1) + ".csv" # 分时间段计算载客数量 for line in open(path):导致读取数据出现异常,一行数据读取成了三行正确代码with open (path,'rt') as csvfile: reader=
2020-05-14 16:34:18 437
原创 _csv.Error: iterator should return strings, not bytes (did you open the file
_csv.Error: iterator should return strings, not bytes (did you open the filepython 读取csv文件问题 with open (path,'rb') as csvfile: reader=csv.reader(csvfile,delimiter=',',quotechar='"',doublequote=False) for row in reader:运行程
2020-05-14 15:55:14 2255 1
原创 Ubuntu18.04修改ens32为eth0
Ubuntu18.04修改ens32为eth0修改grub文件sudo gedit /etc/default/grub查找GRUB_CMDLINE_LINUX=" "修改为GRUB_CMDLINE_LINUX=" net.ifnames=0 biosdevname=0"保存后退出。重新生成grub引导配置文件sudo grub-mkconfig -o /boot/grub...
2019-03-12 22:01:08 2419 1
第六次人口普查2010年11月1日.rar
2020-06-16
TA创建的收藏夹 TA关注的收藏夹
TA关注的人