1. 首页
  2. 数据库
  3. 其它
  4. No module named ‘matplotlib.finance’问题解决

No module named ‘matplotlib.finance’问题解决

上传者: 2021-02-01 11:20:48上传 PDF文件 51.67KB 热度 60次
最近在网课学习爬数据,从雅虎下载数据报错No module named ‘matplotlib.finance’,代码如下: from mpl_finance import quotes_historical_yahoo from datetime import date import pandas as pd today=date.today() start=(today.year-1,today.month,today.day) quotes = quotes_historical_yahoo('AXP',start,today) df=pd.DateFrame(quotes) print
用户评论