Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未匹配的县,结果输出重庆市 #95

Open
funicia opened this issue Jul 19, 2021 · 4 comments
Open

未匹配的县,结果输出重庆市 #95

funicia opened this issue Jul 19, 2021 · 4 comments

Comments

@funicia
Copy link

funicia commented Jul 19, 2021

未匹配的县,结果输出重庆市 县为空,
例如:用例:"假县"
输出为:
省 市 区 地址 adcode
0 重庆市 县 None 500200
这种匹配不到的直接用重庆填充不太合适额

@friendshipity
Copy link

改掉 adcodes.csv的1054行

@MingQian12
Copy link

具体如何改呢?直接删除adcodes.csv的1054行,再次import cpca 会报错。

@MingQian12
Copy link

通过记事本打开adcodes.csv,删除1054行,问题解决,谢谢。

@jiaruisong
Copy link

删了1054行,提了个PR。在merge之前,如有需求的朋友可以install这个:https://github.com/jiaruisong/chinese_province_city_area_mapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants