recode_subregion

recode_subregion(x, quiet=False)

Look up the subregion for a country; recode_region() with which="subregion".

Parameters

Name Type Description Default
x list or Series Country names. required
quiet bool If False (default), warn about unmatched countries. False

Returns

Name Type Description
pandas.Series Subregions, missing where unmatched.

See Also

recode_region

Examples

>>> recode_subregion(["Germany", "Japan"])