上一页 1 2 3 4 5 6 ··· 9 下一页

2021年12月21日

摘要: update Table1 set Column1 = ltrim(rtrim(Column1 )) 阅读全文
posted @ 2021-12-21 10:01 上山打老虎下山采蘑菇 阅读(76) 评论(0) 推荐(0) 编辑

2021年12月20日

摘要: 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 上山打老虎下山采蘑菇 阅读(160) 评论(1) 推荐(0) 编辑
摘要: Python版本:Python 3.6pandas.read_csv() 报错 OSError: Initializing from file failed,一般由两种情况引起:一种是函数参数为路径而非文件名称,另一种是函数参数带有中文。 # -*- coding: utf-8 -*-"""Crea 阅读全文
posted @ 2021-12-20 22:24 上山打老虎下山采蘑菇 阅读(117) 评论(0) 推荐(0) 编辑

2021年12月19日

摘要: 让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 上山打老虎下山采蘑菇 阅读(2024) 评论(0) 推荐(0) 编辑
摘要: 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 上山打老虎下山采蘑菇 阅读(561) 评论(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 上山打老虎下山采蘑菇 阅读(44) 评论(0) 推荐(0) 编辑

2021年12月11日

摘要: Ctrl+ f8设置断点,右键debug代码,然后按F8,逐步运用,界面会有提示。 阅读全文
posted @ 2021-12-11 22:45 上山打老虎下山采蘑菇 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 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 上山打老虎下山采蘑菇 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 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 上山打老虎下山采蘑菇 阅读(1638) 评论(0) 推荐(0) 编辑
摘要: select 姓名,max(来访时间) from TB表 group by 姓名 阅读全文
posted @ 2021-12-11 13:56 上山打老虎下山采蘑菇 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页

导航