Git Product home page Git Product logo

Comments (1)

albertandking avatar albertandking commented on June 25, 2024

欢迎加入《数据科学实战》知识星球,交流财经数据与量化投资相关内容,
详细信息参考:https://akshare.akfamily.xyz/learn.html

前提

遇到任何问题,请先将您的 AKShare 版本升级到最新版,可以通过如下命令升级:

pip install akshare --upgrade  # Python 版本需要大于等于 3.8

如何提交问题

提交问题的同时,请提交以下相关信息,以便于解决问题

详细描述遇到的问题

  1. 操作系统版本,目前只支持 64 位操作系统
    ubuntu 20.04
  2. Python 版本,目前只支持 3.8 以上的版本
    3.9
  3. AKShare 版本,请升级到最新版
    1.13.86
  4. 接口的名称和相应的调用代码

下载深证股票代码

stock_info_sz_name_code_df = ak.stock_info_sz_name_code(symbol="A股列表")

  1. 接口报错的截图或描述
    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.
  2. 期望获得的正确结果
    深证股票信息

接口正常

from akshare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.