会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
种太阳
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
19
下一页
2022年6月4日
47.vue-路由的设置
摘要: 1.说明 vue-router@4 版本支持VUE3版本,不支持VUE2,所以VUE2需要安装vue-router@3版本 2.打开项目终端,输入:npm i vue-route@3 3.引入,应用 4.创建router文件夹,里面再创建index.js文件 index.js: //该文件专门用于创
阅读全文
posted @ 2022-06-04 01:58 种太阳
阅读(204)
评论(0)
推荐(0)
2022年5月29日
46.VUE脚手架目录结构
摘要: 刚创建的项目vue_jsjia如下: 各个文件说明: .gitignore文件: 不想被git管理的文件请写到这里,这样就不用每次去更新git该文件数据 babel.config.js: ES6转ES5的配置,已经配置好了,不需要我们去修改。 package-lock.json: 包版本控制文件 p
阅读全文
posted @ 2022-05-29 13:42 种太阳
阅读(76)
评论(0)
推荐(0)
2022年3月23日
15.对excel数据处理使用界面形式
摘要: 1 # encoding:utf-8 2 3 from tkinter import * 4 from tkinter import messagebox 5 from tkinter import filedialog 6 import pandas as pd 7 ''' 8 画图形界面,供us
阅读全文
posted @ 2022-03-23 19:29 种太阳
阅读(159)
评论(0)
推荐(0)
14.tkinter设置文件选择类型
摘要: 1 # encoding:utf-8 2 3 from tkinter import * 4 from tkinter import messagebox 5 from tkinter import filedialog 6 7 ''' 8 画图形界面,供user操作 9 界面功能: 10 1.US
阅读全文
posted @ 2022-03-23 16:27 种太阳
阅读(496)
评论(0)
推荐(0)
2022年3月22日
13.pandas去除第二列为空的整行数据
摘要: 1 # encoding:utf-8 2 3 import pandas as pd 4 from openpyxl import load_workbook 5 6 ''' 7 本案例获取所有符合的列数据 8 去除了每个栏位的空格 9 去除了空行数据 10 去除了第一列为空的整行数据 11 多个s
阅读全文
posted @ 2022-03-22 15:51 种太阳
阅读(327)
评论(0)
推荐(0)
12.pandas将二维数组写入excel中
摘要: 1 # encoding:utf-8 2 3 import pandas as pd 4 from openpyxl import load_workbook 5 6 ''' 7 本案例获取所有符合的列数据 8 去除了每个栏位的空格 9 去除了空行数据 10 去除了第一列为空的整行数据 11 多个s
阅读全文
posted @ 2022-03-22 14:59 种太阳
阅读(1291)
评论(0)
推荐(0)
11.pandas获取EXCEL某一行某一列数据,组合成二维数组,再写入excel
摘要: 1 def openxls(self): 2 '''获取第一个sheet的数据''' 3 df = pd.read_excel(self.filepath, sheet_name=0) 4 '''获取行数列数''' 5 hanglie = df.shape 6 hang = hanglie[0] 7
阅读全文
posted @ 2022-03-22 14:46 种太阳
阅读(700)
评论(0)
推荐(0)
2022年3月19日
10.使用pandas整合所有sheet的数据放在一个sheet中
摘要: 1 # encoding:utf-8 2 3 import pandas as pd 4 ''' 5 整合sheet 6 将符合的列放在第一个sheet 7 将符合的列放在第二个sheet 8 ''' 9 10 class OpenMyXLS(): 11 def __init__(self, fil
阅读全文
posted @ 2022-03-19 14:01 种太阳
阅读(292)
评论(0)
推荐(0)
2022年3月18日
9.使用pandas去除重复,空行,第一列表头为空的数据行
摘要: # encoding:utf-8 import pandas as pd class OpenMyXLS(): def __init__(self, filepath): self.filepath = filepath self.openxls() def openxls(self): df =
阅读全文
posted @ 2022-03-18 14:39 种太阳
阅读(1067)
评论(0)
推荐(0)
8.通过pandas读取文档,写入文档,同时去除多个sheet重复行数据
摘要: 1 # encoding:utf-8 2 3 import pandas as pd 4 5 class OpenMyXLS(): 6 def __init__(self, filepath): 7 self.filepath = filepath 8 self.openxls() 9 10 def
阅读全文
posted @ 2022-03-18 13:22 种太阳
阅读(218)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
19
下一页
公告