python
文章平均质量分 53
lsylsl0
这个作者很懒,什么都没留下…
展开
-
plt 仿真
import numpy as np from matplotlib import pyplot as plt from matplotlib import animation # First set up the figure, the axis, and the plot element we want to animate fig = plt.figure() ax = plt.axes(xlim=(0, 2), ylim=(-2, 2)) line, = ax.plot([], [原创 2021-04-30 22:30:32 · 83 阅读 · 1 评论 -
pandas操作
文章目录二、读取数据三、数据预处理四、数据选择五、数值操作六、数据运算七、时间序列八、数据透视表九、多表格拼接十、导出文件 # 一、Pandas数据结构 1、import pandas as pd import numpy as np import matplotlib.pyplot as plt 2、S1=pd.Series([‘a’,’b’,’c’]) series是一组数据与一组索引(行索引)组成的数据结构 3、S1=pd.Series([‘a’,’b’,’c’],index=(1,3,4))转载 2021-04-20 20:26:30 · 274 阅读 · 0 评论