2021年7月13日

pandas修改格式

摘要: https://blog.csdn.net/weixin_36388341/article/details/114911969 阅读全文

posted @ 2021-07-13 16:29 平凡之测 阅读(45) 评论(0) 推荐(0)

pandas 如何移动列的位置

摘要: 实现效果 原来备注列在第二列 代码: mid=df['备注'] #取备注列的值 df.pop('备注') #删除备注列 df.insert(4,'备注',mid) #插入备注列 阅读全文

posted @ 2021-07-13 14:28 平凡之测 阅读(2608) 评论(0) 推荐(0)

python 如何生成exe程序

摘要: cmd 安装包 pip install pyinstaller cd 进入程序文件夹内 3.输入命令pyinstaller -F xx.py 在dist文件夹下找到安装包即可 阅读全文

posted @ 2021-07-13 13:24 平凡之测 阅读(492) 评论(0) 推荐(0)

python py文件名称不能和库名称一样,否则报错module 'requests' has no attribute 'post'

摘要: 这个问题自己犯过几次,加深一下记忆 阅读全文

posted @ 2021-07-13 10:37 平凡之测 阅读(105) 评论(0) 推荐(0)

导航