07 2018 档案

摘要:1 list与np相互转换 单个列表可以转换为np数组,多个类表可以转换为np矩阵(多维数组): 可以利用np生成零矩阵: 2 str、list、dict等操作 str数字列表转换为int数字列表: 两个列表合成一个词典: 对词典中的元素进行排序(注意排序后dict变成了list): 阅读全文
posted @ 2018-07-07 16:22 祁俊辉 阅读(4479) 评论(0) 推荐(0)
摘要:1 matplotlib安装 见pip安装第三方包。 2 PLT之散点图、折线图 参考:https://blog.csdn.net/cjcrxzz/article/details/79627483 3 PLT之柱状图 参考:https://blog.csdn.net/u014487509/artic 阅读全文
posted @ 2018-07-04 15:35 祁俊辉 阅读(747) 评论(0) 推荐(1)
摘要:1 打开互联网网页 使用webbrowser模块即可,如下: 2 打开本地HTML文件 同样使用webbrowser模块,如下: 阅读全文
posted @ 2018-07-02 21:09 祁俊辉 阅读(570) 评论(0) 推荐(0)
摘要:1 介绍 由百度地图API获取一个地址的经纬度,并以JSON方式返回。 2 代码 阅读全文
posted @ 2018-07-02 21:07 祁俊辉 阅读(608) 评论(0) 推荐(0)