![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python Project
机器学渣
时间是一切财富中最宝贵的财富
展开
-
折线图+箱型图 Python
1.折线图import matplotlib.pyplot as pltimport numpy as npwith plt.style.context(('bmh')): fig, ax = plt.subplots(figsize=(20,10)) x = np.arange(-2*np.pi,2*np.pi,0.1) y = np.sin(x) a...原创 2020-05-05 15:33:30 · 2428 阅读 · 0 评论 -
Python连接sql server 2008读取数据
最近在做一个电流控制器模块,需要用Python读取数据库的数据来计算需要调整多少电流。以下是数据库连接步骤,如有不好或者有更好的方法还请各位大佬指教。首先是需要用到的库 pymssql 这个可以在cmd里 输入pip install pymssql 下载或者在 https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载whl文件安装class read_s...原创 2019-03-28 13:46:00 · 2056 阅读 · 0 评论