import pandas as pd
from datetime import date, timedelta

import holidays


#List object called Holiday List
HolidayList = []


#Get the holiday list for UK, US, India and Australia
for yrs in range(2000, 2020):
    #Appending Holiday List for UK
    for ptr in holidays.UnitedKingdom(years=yrs).items():
        HolidayList.append(ptr)
    #Appending Holiday List for US
    for ptr in holidays.UnitedStates(years=yrs).items():
        HolidayList.append(ptr)
    #Appending Holiday List for India
    for ptr in holidays.India(years=yrs).items():
        HolidayList.append(ptr)
    #Appending Holiday List for Australia
    for ptr in holidays.Australia(years=yrs).items():
        HolidayList.append(ptr)
    #Appending Holiday List for China
    for ptr in holidays.China(years=yrs).items():
        HolidayList.append(ptr)
    #Appending Holiday List for South Africa
    for ptr in holidays.SouthAfrica(years=yrs).items():
        HolidayList.append(ptr)
    #Appending Holiday List for NewZealand
    for ptr in holidays.NZL(years=yrs).items():
        HolidayList.append(ptr)


#Create a data frame from the Holidays List

df = pd.DataFrame(HolidayList)
print('Hello world!')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: