Micro-sheep / Micro-sheep/efinance
incompatible with TypeError for dict_values as integer
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 755
- PR merge metrics
- No merged PRs in 30d
Description
There is an issue caused by lower versions of Python (<=3.6.10) and/or Pandas.

Codes can still be run as expected if some of these functions removed as illustrated in the attached file.
s = pd.Series(json_response['Datas']).rename(index=columns)[columns.values()]
-->
s = pd.Series(json_response['Datas']).rename(index=columns)
is it necessary to do some compatible remedies for old versions?
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is identified in the issue. Start by reproducing the reported TypeError with the shown pandas Series expression under the affected Python and pandas versions, then identify the project entry point containing this code. Done means the relevant functions work without the error while preserving the expected Series behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100