Get data table di website
untuk mengambil data table diwebsite dapat menggunakkan package pandas. caranya sebagai berikut
import pandas as pd
dfs = pd.read_html('https://www.countrycode.org/')
df = dfs[0]
for index, row in df.iterrows():
print(f"country name: {row['COUNTRY']}, country code {row['COUNTRY CODE']}")