当前位置:网站首页>Visual analysis of real-time epidemic data
Visual analysis of real-time epidemic data
2022-07-23 16:48:00 【TJMtaotao】
The import module
import requests
import pandas as pd
import time
One 、 Data acquisition
Specific websites : Epidemic Secretary | Global novel coronavirus pneumonia real time big data report , Please collect !
1. Data acquisition
data_ China =requests.get('http://dzq.wenlvnews.com/index.php/yiqing/push.html')
data_ foreign =requests.get('http://dzq.wenlvnews.com/index.php/yiqing/glbpush.html')
2. Data analysis [ The smallest unit is province ]
2-1. Domestic information
data_ China =pd.DataFrame(data_ China .json()['allData']['area'])[['provinceName','confirmedCount','curedCount','deadCount']]
data_ China .columns=[' province ',' Cumulative diagnosis ',' Cumulative recovery ',' Cumulative death ']
data_ China [' Country ']=' China '
data_ China =data_ China [[' Country ',' province ',' Cumulative diagnosis ',' Cumulative recovery ',' Cumulative death '
边栏推荐
- Transparent proxy server architecture of squid proxy service
- How to buy financial products with a return of more than 6%?
- fastadmin,非超级管理员,已赋予批量更新权限,仍显示无权限
- 【Error】TypeError: expected str, bytes or os.PathLike object, not int
- 单片机内部IO口保护电路及IO口电气特性以及为什么不同电压IO之间为什么串联一个电阻?
- Tan Zhangxi, director of risc-v Foundation: risc-v has gradually expanded from the edge to the center
- IIS 部署.NetCore
- 動態規劃背包問題之完全背包詳解
- 20220722 beaten record
- Software detailed design template
猜你喜欢

VMware platform STS certificate expired

腾讯云获国际专业流媒体测评肯定:三大场景下视频编码性能全部最优

Fastadmin, non super administrator, has been granted batch update permission, but it still shows no permission

Satisfiability of the equation of leetcode

20220721 beaten content

动态规划背包问题之完全背包详解

20220722 beaten record

LeetCode之等式方程的可满足性

O3DF执行董事Royal O’Brien:开源没有边界,所有共享的声音都会变成实际方向

Cuibaoqiu, vice president of Xiaomi group: open source is the best platform and model for human technological progress
随机推荐
32位单片机GPIO端口电路结构以及输出模式
百度编辑器上传图片设置自定义目录
pytest接口自动化测试框架 | 控制测试用例执行
卷积神经网络模型之——GoogLeNet网络结构与代码实现
网络协议与攻击模拟:wireshark使用、ARP协议
CloudCompare&PCL 法向量空间采样(NSS)
僧多粥少?程序员要怎样接私活才能有效提高收入?
Nifi 1.16.3 cluster setup +kerberos+ user authentication
博客表情大全
【Error】TypeError: expected str, bytes or os.PathLike object, not int
Go interface: go deep into internal principles
Liupeng, vice president of copu: China's open source has approached or reached the world's advanced level in some areas
精确的目标检测中定位置信度的获取
启牛商学院上面开户安全不
pytest接口自动化测试框架 | 如何获取帮助
O3DF执行董事Royal O’Brien:开源没有边界,所有共享的声音都会变成实际方向
【Redis】redis安装与客户端redis-cli的使用(批量操作)
ESP8266-NodeMCU——从苏宁API获取实时天气
48:第五章:开发admin管理服务:1:创建子工程【imooc-news-dev-service-admin】,管理服务模块;
Basic auth plug-in based on apisik authorizes Minio file upload function