Skip to main content

Public Holidays Dataset

Worldwide public holiday data sourced from PyPI holidays package and Wikipedia, covering 38 countries or regions from 1970 to 2099. Each row indicates the holiday info for a specific date, country or region, and whether most people have paid time off.

Dataset Details

Volume and Retention

  • Format: Parquet
  • Size: Approximately 500KB
  • Date Range: January 1, 1970 to January 1, 2099
  • Records: 20,665+ unique dates across 38 countries

Storage Location

This dataset is stored in the East US Azure region. We recommend locating compute resources in East US for affinity.

Data Sources

This dataset combines data from:

License

The combined dataset is provided under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

Schema

The isPaidTimeOff column is only available for the United States, Great Britain, and India. For other countries, this field will be NULL.

Preview Data

Data Access

Python SDK (azureml-opendatasets)

Access the dataset using the Azure ML Open Datasets SDK:

Azure Storage (Direct Access)

Access the dataset directly from Azure Blob Storage:

Azure Databricks (Python SDK)

Azure Databricks (PySpark)

Azure Synapse Analytics

Use Cases

Incorporate holiday information into demand forecasting models to account for seasonal variations and holiday effects on consumer behavior.
Plan staffing and resource allocation around public holidays across different countries for global operations.
Build calendar applications that display public holidays for multiple countries and regions.
Analyze business metrics with holiday context to understand performance patterns during holiday periods.
Help travelers and tourism applications identify public holidays in destination countries.

Example Analysis

Count Holidays by Country

Find Holidays on Specific Date

Filter Paid Time Off Holidays

Supported Countries

The dataset covers 38 countries and regions including:
  • Australia, Austria, Canada, Croatia, Czech Republic
  • Denmark, Finland, France, Germany, Hungary
  • India, Ireland, Italy, Japan, Mexico
  • Netherlands, New Zealand, Norway, Poland, Portugal
  • Spain, Sweden, Switzerland, United Kingdom, United States
  • And more…

Data Quality Notes

The isPaidTimeOff field is only populated for the United States, Great Britain, and India. For all other countries, this field will be NULL.
Holiday names are provided in the local language of each country. Use the normalizeHolidayName field for a more standardized representation where available.

Next Steps

Create ML Dataset

Learn how to create Azure ML datasets from this data

Browse Catalog

Explore other available datasets

COVID-19 Data

View COVID-19 tracking datasets

Genomics Data

Explore genomics datasets

Contact

For questions about this dataset, email aod@microsoft.com.