会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
汁虫
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
22
下一页
2021年9月22日
HTML
摘要: /* 目录: 一: 语法 二: code */ 一: 语法 html: HyperText Markup language html: 是什么 css: 样式表 - 长什么样 <!-- HTML 结构 --> <p> </p> <!-- 段落 --> <h1> </h1> <!-- 标题 --> <
阅读全文
posted @ 2021-09-22 09:13 火焰马
阅读(32)
评论(0)
推荐(0)
2021年4月16日
030_ 数据迁移_杂
摘要: ///////////////////////////////////////////////// df = pd.DataFrame({"ID":[1,2,3], "Name":["Time", "Victor", "Nick"]}) df = df.set_index("ID") # 设置索引
阅读全文
posted @ 2021-04-16 18:01 火焰马
阅读(54)
评论(0)
推荐(0)
2021年3月28日
004 编码解码
摘要: // encode -> # decode : bytes - string # encode : string - bytes from sys import argv script, encoding, error = argv def print_line(line, encoding, er
阅读全文
posted @ 2021-03-28 18:07 火焰马
阅读(62)
评论(0)
推荐(0)
003 读写文件
摘要: from sys import argv script, filename = argv def read_file(): txt = open(filename, "r+", encoding="UTF-8") print(f"Here's your file {filename}: ") # p
阅读全文
posted @ 2021-03-28 18:04 火焰马
阅读(34)
评论(0)
推荐(0)
2021年2月17日
024_线性回归_数据预测
摘要: import pandas as pd import matplotlib.pyplot as plt from scipy.stats import linregress if __name__ == '__main__': pd.options.display.max_columns = 999
阅读全文
posted @ 2021-02-17 21:20 火焰马
阅读(66)
评论(0)
推荐(0)
027_行操作
摘要: import pandas as pd if __name__ == '__main__': page_1 = pd.read_excel("C:/Users/18124/Desktop/pandas/027_行操作/Students.xlsx", sheet_name="Page_001") pa
阅读全文
posted @ 2021-02-17 21:18 火焰马
阅读(75)
评论(0)
推荐(0)
029_读取数据库
摘要: import pandas as pd import pyodbc import sqlalchemy if __name__ == '__main__': # 方法一 connection = pyodbc.connect("driver={sql server}; server=(local);
阅读全文
posted @ 2021-02-17 21:11 火焰马
阅读(52)
评论(0)
推荐(0)
SQL_Server_2012 安装
摘要: /* 时间:2020/02/17 功能: 一 安装注意 二 安装过程 三 验证成功 */ 一 安装注意 /* 1 关闭安全类软件: 如杀毒软件 2 优先选择开发版: 《cn_sql_server_2012_developer_edition_with_sp1_x64_dvd_1234492》 */
阅读全文
posted @ 2021-02-17 21:05 火焰马
阅读(208)
评论(0)
推荐(0)
021_旋转数据表
摘要: import pandas as pd if __name__ == '__main__': pd.options.display.max_columns = 999 Videos = pd.read_excel("C:/Users/18124/Desktop/pandas/021_旋转数据表/Vi
阅读全文
posted @ 2021-02-17 20:59 火焰马
阅读(63)
评论(0)
推荐(0)
023_透视表_分组_聚合
摘要: import pandas as pd import numpy as np if __name__ == '__main__': pd.options.display.max_columns = 999 orders = pd.read_excel("C:/Users/18124/Desktop/
阅读全文
posted @ 2021-02-17 20:52 火焰马
阅读(67)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
22
下一页
公告