【发布时间】:2012-10-16 21:18:52
【问题描述】:
我有以 datetime 列为索引的 pandas 时间序列:
2010-09-20 1828.27
2010-09-21 1843.30
2010-09-22 1898.05
2010-09-23 1897.00
2010-09-24 1902.00
2010-09-27 1828.96
2010-09-28 1824.85
2010-09-29 1808.17
2010-09-30 1833.04
如何使用simple matplotlib 示例为该数据集设置动画。
【问题讨论】:
-
修改该示例中的
animate函数以从 pandas 结构中提取数据。
标签: python matplotlib time-series pandas