matplotlib
fklk
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Pyplot 画图
Pyplot 画图 import numpy as np import matplotlib.pyplot as plt x = np.linspace(1, 10, 1000) y = x+3 plt.plot(x,y,color=‘blue’,linewidth=1.0,linestyle=’-’)#画第一个函数,设置颜色,线宽,实线 plt.xlabel(‘X-aix’)#添加座标标签 plt.ylabel(‘Y-aix’)#添加座标标签 ...原创 2021-08-22 12:32:43 · 246 阅读 · 0 评论 -
禅道导出表格后统计bug数(by pandas)
假设有这样一个表格:bug.xlsx import pandas as pd import matplotlib.pyplot as plt df= pd.read_excel('bug.xlsx') #print(xx.head) #print(df.columns) #rint (df['创建者']) print ("----------------------------------------") df.rename(columns={"创建者": "Createer", "日期": "Date"原创 2020-09-26 18:07:47 · 1465 阅读 · 0 评论 -
Numpy quick fork
The Basics NumPy’s main object is the homogeneous multidimensional array. It is a table of elements (usually numbers), all of the same type, indexed by a tuple of non-negative integers. In NumPy dimensions are called axes. For example, the coordinates of a原创 2020-06-29 11:08:27 · 234 阅读 · 0 评论 -
matplotlib 画图以及ZT统计,
#!/usr/bin/python #coding=utf-8 #import talib import numpy as np import pandas as pd import tushare as ts import matplotlib.pyplot as plt plt.rcParams[‘font.sans-serif’] = [‘SimHei’] df = ts.get_h_dat...原创 2019-01-06 18:15:05 · 688 阅读 · 1 评论 -
numpy用法:numpy.random.randint
https://www.w3cschool.cn/doc_numpy_1_12/numpy_1_12-generated-numpy-random-randint.html numpy.random.randint(low, high=None, size=None, dtype=‘l’) Return random integers from low (inclusive) to high (e...原创 2019-01-02 14:39:47 · 613 阅读 · 0 评论
分享