网址:http://www.weather.com.cn/textFC/hb.shtml
解析:BeautifulSoup4
爬取所有城市的最低天气
![](https://upload-images.jianshu.io/upload_images/13406307-3fc6f745437c8875.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
对爬取的数据进行可视化处理
按温度对城市进行排名
取前10个
生成直方图
代码:
![](https://upload-images.jianshu.io/upload_images/13406307-7cec6e59d67780d9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
结果:
![](https://upload-images.jianshu.io/upload_images/13406307-c91b94b3b90b7247.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
网址:http://www.weather.com.cn/textFC/hb.shtml
解析:BeautifulSoup4
爬取所有城市的最低天气
对爬取的数据进行可视化处理
按温度对城市进行排名
取前10个
生成直方图
代码:
结果: