CountryOrRegionColumn Class

Defines country or region column properties.

Initialize countrycode and country_or_region column names.

Inheritance
builtins.object
CountryOrRegionColumn

Constructor

CountryOrRegionColumn(countrycode_name: str | None = None, country_or_region_name: str | None = None)

Parameters

Name Description
countrycode_name
str

The name of the column that contains country code data.

default value: None
country_or_region_name
str

The name of the column that contains country or region data.

default value: None

Attributes

available_column_type

Get the available column type, CountryCode, CountryOrRegionName, or both.

country_or_region_column_name

Get the name of the column that contains country or region data.

countrycode_column_name

Get the name of the column that contains country code data.