def read_csv():
    '\n    读取数据，返回国家英文名称列表和累计确诊数列表\n    :return:\n    '
    country_dict = read_country_code()
    data = pd.read_csv('2019-nCoV.csv', index_col=False)
    countrys_names = list()
    confirmed_count = list()
    for x in range(len(data.index)):
        if (data['name'].iloc[x] in country_dict.keys()):
            countrys_names.append(country_dict[data['name'].iloc[x]])
            confirmed_count.append(data['confirm'].iloc[x])
        else:
            print(data['name'].iloc[x])
    return (countrys_names, confirmed_count)
读取数据，返回国家英文名称列表和累计确诊数列表
:return:
def read_csv():
    '\n    读取数据，返回国家英文名称列表和累计确诊数列表\n    :return:\n    '
    country_dict = read_country_code()
    data = pd.read_csv('2019-nCoV.csv', index_col=False)
    countrys_names = list()
    confirmed_count = list()
    for x in range(len(data.index)):
        if (data['name'].iloc[x] in country_dict.keys()):
            countrys_names.append(country_dict[data['name'].iloc[x]])
            confirmed_count.append(data['confirm'].iloc[x])
        else:
            print(data['name'].iloc[x])
    return (countrys_names, confirmed_count)