Micro-sheep / Micro-sheep/efinance

ef.fund.get_base_info报错

Open
#238 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.1k
Forks
755
PR merge metrics
No merged PRs in 30d

Description

如题,
import efinance as ef

获取多只基金基本信息

ef.fund.get_base_info(['161725','005827'])
报错:
TypeError: Invalid value '0.17' for dtype 'str'. Value should be a string or missing value, got 'float' instead.
TypeError: Invalid value '1.21' for dtype 'str'. Value should be a string or missing value, got 'float' instead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing ef.fund.get_base_info(['161725','005827']) and inspect the implementation behind that entry point. The work is done when the call completes without the reported dtype errors for multiple fund IDs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.