Matching Country Information in Python

Using PyCountry Library. With An Example Use in CSSE COVID-19 Dataframe.

Joe T. Santhanavanich
Towards Data Science
3 min readDec 19, 2020

--

Photo by Juliana Kozoski on Unsplash

In data science projects, you may have a data table that contains country data like country name, country code, etc. But, different data sets usually provide data in different country data formats or attributes; for example, “Germany” can be recorded as “GER”, “Germany”, “DE”…

--

--