Comments (4)
Describe the bug
migration_area_baidu
show all areas except the area in paramarea
,To Reproduce
import akshare as ak df = ak.migration_area_baidu(area="杭州市", indicator="move_out", date="20240401") df1 = df[df["city_name"] == "杭州市"] df2 = df[df["city_name"] == "嘉兴市"] print("--df1--") print(df1) print("--df2--") print(df2)
df1
is empty, but it should not be emptydf2
is not empty, but it should be emptyExpected behavior
migration_area_baidu
return the data for paramarea
onlyDesktop (please complete the following information):
- OS: Linux
- Browser chromium
- Version 1.13.69 (akshare)
接口正常
from akshare.
接口正常
ak.migration_area_baidu(area="杭州市", indicator="move_out", date="20240401")
应该返回杭州的数据,实际返回除了杭州以外所有其他城市的数据
from akshare.
接口正常
ak.migration_area_baidu(area="杭州市", indicator="move_out", date="20240401")应该返回杭州的数据,实际返回除了杭州以外所有其他城市的数据
参照目标网站
from akshare.
目标网站:https://qianxi.baidu.com/?from=shoubai#city=0
选杭州,就只显示杭州的数据
from akshare.
Related Issues (20)
- 获取东财三大报表时接口报错 HOT 1
- 申万行情接口 index_realtime_sw 报错 HOT 2
- AKShare 接口问题报告 HOT 1
- AKShare 接口问题报告 - index_analysis_daily_sw HOT 2
- AKShare 接口问题报告 HOT 1
- AKShare 接口问题报告ak.index_detail_cni()接口报错 HOT 2
- AKShare 接口问题报告 HOT 1
- AKShare 接口问题报告 HOT 2
- AKShare 接口问题报告 HOT 1
- ak.stock_zh_index_daily(symbol="sh000005") 获取数据异常,只能获取到5月24日 HOT 2
- AKShare 接口问题报告:stock_zt_pool_em_df 报错Length mismatch HOT 1
- 期望支持A股关键指标获取 HOT 1
- 申万一级行业网页实时行情缺失 HOT 1
- macro_china_bond_public 接口异常 HOT 1
- AKShare 接口问题报告 HOT 1
- macro_china_nbs_nation_df的问题 HOT 1
- stock_fhps_detail_em调用报错 HOT 1
- 巨潮资讯接口问题报告 HOT 1
- AKShare 接口问题报告 HOT 1
- bond_china_close_return()接口不能指定获取某页数据 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.