text_html_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import numpy as np
import pandas as pd
import geopandas as gpd
import matplotlib.pyplot as plt
df_countries = pd.read_csv('/kaggle/input/countries-iso-codes/wikipedia-iso-country-codes.csv')
df_global = pd.read_csv('/kaggle/input/global-hospital-beds-capacity-for-covid19/hospital_beds_global_v1.csv')
df_global.dataframeName = 'hospital_beds_global_v1.csv'
df_global = df_global.merge(df_countries, how='left', left_on=['country'], right_on=['Alpha-2 code'])
df_global.rename(columns={'Alpha-3 code': 'country code', 'English short name lower case': 'country name'}, inplace=True)
df_global = df_global[['country name', 'country code', 'beds', 'type', 'year', 'population']]
df_global.head()