PublicHolidays class

Definition

Public holiday class.

PublicHolidays(country_or_region: str = '', start_date: datetime.datetime = datetime.datetime(2008, 1, 1, 0, 0), end_date: datetime.datetime = datetime.datetime(2019, 12, 5, 22, 11, 41, 645143), cols: typing.Union[typing.List[str], NoneType] = None, enable_telemetry: bool = True)
Inheritance
builtins.object
azureml.opendatasets._opendataset_factory.TabularOpenDatasetFactory
PublicHolidays

Methods

get_pandas_limit()

Get instance of pandas data load limit class.

get_pandas_limit()

Get instance of pandas data load limit class.

get_pandas_limit()

Attributes

country_or_region_column_name

country_or_region_column_name = 'countryOrRegion'

countrycode_column_name

countrycode_column_name = 'countryRegionCode'

data

data = None

default_end_date

default_end_date = datetime.datetime(2019, 12, 5, 22, 11, 41, 645143)

default_max_end_date

default_max_end_date = datetime.datetime(2099, 1, 1, 0, 0)

default_start_date

default_start_date = datetime.datetime(2008, 1, 1, 0, 0)

fine_grain_timestamp

fine_grain_timestamp = 'date'

mandatory_columns

mandatory_columns = ['date', 'countryOrRegion', 'countryRegionCode']

time_column_name

time_column_name = 'date'