上一页 1 2 3 4 5 6 ··· 91 下一页
该文被密码保护。 阅读全文
posted @ 2025-07-08 14:43 Peter.Jones 阅读(0) 评论(0) 推荐(0)
摘要: application.yml spring: shardingsphere: props: sql-show: true datasource: names: db0,db1 db0: type: com.zaxxer.hikari.HikariDataSource driver-class-na 阅读全文
posted @ 2025-06-12 14:36 Peter.Jones 阅读(24) 评论(0) 推荐(0)
摘要: pom.xml <!-- 数据库分片 --> <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId> 阅读全文
posted @ 2025-06-12 14:30 Peter.Jones 阅读(26) 评论(0) 推荐(0)
摘要: 总览 Tomcat容器启动阶段 │ ├─ 1. StandardContext#startInternal() │ │ │ ├─ 1.1 调用SpringServletContainerInitializer#onStartup() │ │ │ │ │ ├─ 注册ContextLoaderListe 阅读全文
posted @ 2025-04-24 11:53 Peter.Jones 阅读(28) 评论(0) 推荐(0)
摘要: # 导入库 import seaborn as sns # 绘图 import numpy as np # 数值运算 # 机器学习: sklearn from sklearn.model_selection import train_test_split # 深度学习:tf.keras from t 阅读全文
posted @ 2025-04-08 09:32 Peter.Jones 阅读(44) 评论(0) 推荐(0)
摘要: # 导入库 import seaborn as sns # 绘图 import numpy as np # 数值运算 # 机器学习: sklearn from sklearn.model_selection import train_test_split from sklearn.linear_mo 阅读全文
posted @ 2025-04-08 09:23 Peter.Jones 阅读(42) 评论(0) 推荐(0)
摘要: # 柱状图 import matplotlib.pyplot as plt movie_name = ['雷神3:诸神黄昏','正义联盟','东方快车谋杀案','寻梦环游记','全球风暴','降魔传','追捕','横坐标'] x = range(len(movie_name)) y = [73853 阅读全文
posted @ 2025-03-26 18:44 Peter.Jones 阅读(12) 评论(0) 推荐(0)
摘要: # 散点图 import matplotlib.pyplot as plt import random from pylab import mpl # 设置显示中文字体 mpl.rcParams["font.sans-serif"] = ["SimHei"] # 准备数据 x=[225.98,247 阅读全文
posted @ 2025-03-26 18:29 Peter.Jones 阅读(23) 评论(0) 推荐(0)
摘要: 一个坐标多张图(上-下) # 需求:模拟一小时内(60分钟)北京和上海的温度变化数据 import matplotlib.pyplot as plt # 导入绘图库 import random # 导入随机数包 from pylab import mpl # 设置显示中文字体 mpl.rcParam 阅读全文
posted @ 2025-03-26 17:45 Peter.Jones 阅读(58) 评论(0) 推荐(0)
摘要: python环境:Python 3.13.2 参考网络视频:https://www.bilibili.com/video/BV1KM4y1b7sC?spm_id_from=333.788.player.switch&vd_source=3bdaecff10bd344788cc194461374709 阅读全文
posted @ 2025-03-18 09:56 Peter.Jones 阅读(64) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 91 下一页