Comments (1)
欢迎加入《数据科学实战》知识星球,交流财经数据与量化投资相关内容,
详细信息参考:https://akshare.akfamily.xyz/learn.html前提
遇到任何问题,请先将您的 AKShare 版本升级到最新版,可以通过如下命令升级:
pip install akshare --upgrade # Python 版本需要大于等于 3.8
如何提交问题
提交问题的同时,请提交以下相关信息,以便于解决问题
详细描述遇到的问题
- 操作系统版本,目前只支持 64 位操作系统
ubuntu 20.04- Python 版本,目前只支持 3.8 以上的版本
3.9- AKShare 版本,请升级到最新版
1.13.86- 接口的名称和相应的调用代码
下载深证股票代码
stock_info_sz_name_code_df = ak.stock_info_sz_name_code(symbol="A股列表")
- 接口报错的截图或描述
File "/media/LinuxWork/works/PyStock/download_minute_data.py", line 93, in download_minute_data
stock_info_sz_name_code_df = ak.stock_info_sz_name_code(symbol="A股列表")
File "/media/LinuxWork/diddle/anaconda3/envs/juchao/lib/python3.9/site-packages/akshare/stock/stock_info.py", line 44, in stock_info_sz_name_code
temp_df = pd.read_excel(BytesIO(r.content))
File "/media/LinuxWork/diddle/anaconda3/envs/juchao/lib/python3.9/site-packages/pandas/io/excel/_base.py", line 495, in read_excel
io = ExcelFile(
File "/media/LinuxWork/diddle/anaconda3/envs/juchao/lib/python3.9/site-packages/pandas/io/excel/_base.py", line 1554, in init
raise ValueError(
ValueError: Excel file format cannot be determined, you must specify an engine manually.- 期望获得的正确结果
深证股票信息
接口正常
from akshare.
Related Issues (20)
- fix the encoding format for file reading to utf-8 HOT 1
- AKShare 接口问题报告 HOT 2
- 同花顺获取概念板块成分股无法访问 HOT 1
- 获取同花顺概念板块成分股接口-蠢办法修改后可正常访问的建议 HOT 1
- AKShare 接口问题报告 HOT 2
- 获取上期所期权数据的接口存在问题,返回数据为None HOT 1
- 东方财富-指数 HOT 1
- AKShare 接口问题报告 HOT 3
- energy_carbon_gz相关接口问题 HOT 1
- 新增接口请求:帮忙新增“财联社”的接口 HOT 1
- AKShare 接口问题报告
- currency_hist 接口错误 HOT 1
- AKShare 接口问题报告 HOT 2
- ak.stock_us_hist(symbol = symbol, period='daily',adjust='hfq') 复权数据错误 HOT 1
- stock_news_em好像用不起了 HOT 1
- 接口问题:stock_info_global_cls()接口获取数据不全 HOT 1
- 南华期货网站新接口开发需求 HOT 1
- AKShare 接口问题报告 macro_china_nbs_nation_df HOT 1
- macro_china_bond_public 接口异常 HOT 1
- 同花顺概念和成分股api接口没有了? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akshare.