会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘世达
上一页
1
2
3
4
5
6
···
9
下一页
2021年12月21日
sqlserver表中头尾有空格的处理方法
摘要: update Table1 set Column1 = ltrim(rtrim(Column1 ))
阅读全文
posted @ 2021-12-21 10:01 上山打老虎下山采蘑菇
阅读(90)
评论(0)
推荐(0)
2021年12月20日
pd.read_csv文件合并
摘要: import pandas as pdimport os savefile_name=r'all.csv'file_list=os.listdir(r'E:\JDNetDiskDownload')df = pd.read_csv(file_list[0],encoding='GBK',usecols
阅读全文
posted @ 2021-12-20 22:28 上山打老虎下山采蘑菇
阅读(197)
评论(1)
推荐(0)
pandas.read_csv() 报错 OSError: Initializing from file failed
摘要: Python版本:Python 3.6pandas.read_csv() 报错 OSError: Initializing from file failed,一般由两种情况引起:一种是函数参数为路径而非文件名称,另一种是函数参数带有中文。 # -*- coding: utf-8 -*-"""Crea
阅读全文
posted @ 2021-12-20 22:24 上山打老虎下山采蘑菇
阅读(156)
评论(0)
推荐(0)
2021年12月19日
python国内源
摘要: 让python pip使用国内镜像 国内源: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/
阅读全文
posted @ 2021-12-19 19:05 上山打老虎下山采蘑菇
阅读(2238)
评论(0)
推荐(0)
You should consider upgrading via the 'python -m pip install --upgrade pip' command
摘要: pip install requests时报You should consider upgrading via the 'python -m pip install --upgrade pip' command 系统提示原来的版本太老了,需要更新版本。 系统提示需要使用python -m pip i
阅读全文
posted @ 2021-12-19 19:02 上山打老虎下山采蘑菇
阅读(655)
评论(0)
推荐(0)
2021年12月13日
试试看
摘要: use tmp_products;drop table if exists tmp_products.orderid_201011051110;create table tmp_products.orderid_201011051110 ( orderid string comment '', pe
阅读全文
posted @ 2021-12-13 23:11 上山打老虎下山采蘑菇
阅读(54)
评论(0)
推荐(0)
2021年12月11日
Python测试环境
摘要: Ctrl+ f8设置断点,右键debug代码,然后按F8,逐步运用,界面会有提示。
阅读全文
posted @ 2021-12-11 22:45 上山打老虎下山采蘑菇
阅读(45)
评论(0)
推荐(0)
python中%的作用
摘要: import xlwtfor m in range(1,13): wb = xlwt.Workbook() wb.add_sheet('统计表%d'%m) wb.save('%d月.xls'%m)
阅读全文
posted @ 2021-12-11 22:30 上山打老虎下山采蘑菇
阅读(274)
评论(0)
推荐(0)
用Python对Excel获取sheet、增加sheet、写入单元格数据
摘要: import xlrdimport xlwtfrom xlutils.copy import copywb = xlrd.open_workbook(r'C:\Users\刘世达\Desktop\零基础python处理excel表格基础办公自动化实战源码实例视频教程\01 用Python处理Exce
阅读全文
posted @ 2021-12-11 21:35 上山打老虎下山采蘑菇
阅读(1685)
评论(0)
推荐(0)
取重复数据的最大一条日期的数据
摘要: select 姓名,max(来访时间) from TB表 group by 姓名
阅读全文
posted @ 2021-12-11 13:56 上山打老虎下山采蘑菇
阅读(141)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
9
下一页
导航
博客园
新随笔
联系
管理