from datetime import datetime, timedelta import pandas as pd # Define the structure for the 10-month calendar custom_months = [ (“Awakening”, “2025-01-01”), (“Bloom”, “2025-02-06”), (“Radiance”, “2025-03-14”), (“Harvest”, “2025-04-19”), (“Stillness”, “2025-05-25”), (“Hearth”, “2025-06-30”), (“Wisdom”, “2025-08-05”), (“Grace”, “2025-09-10”), (“Glory”, “2025-10-16”), (“Legacy”, “2025-11-21”) ] # 9-day cycle nine_day_names = [ “SoulDay”, “WorkDay”, “TradeDay”, “GrowDay”, “RestDay”, “CreateDay”, “ServeDay”, “HomeDay”, “FreeDay” ] # Known US holidays in 2025 us_holidays = { “01-01”: “New Year’s Day”, “01-20”: “Martin Luther King Jr. Day”, “02-14”: “Valentine’s Day”, “02-17”: “Presidents’ Day”, “05-26”: “Memorial Day”, “07-04”: “Independence Day”, “09-01”: “Labor Day”, “10-13”: “Columbus Day”, “11-11”: “Veterans Day”, “11-27”: “Thanksgiving”, “12-25”: “Christmas Day” } # Generate full year data calendar_data = [] for month_name, start_date_str in custom_months: start_date = datetime.strptime(start_date_str, “%Y-%m-%d”) for i in range(36): current_date = start_date + timedelta(days=i) day_of_week = current_date.strftime(“%A”) date_key = current_date.strftime(“%m-%d”) holiday = us_holidays.get(date_key, “”) calendar_data.append({ “Month”: month_name, “9-Day Name”: nine_day_names[i % 9], “Date”: current_date.strftime(“%b %d, %Y”), “Day of Week”: day_of_week, “US Holiday”: holiday }) df = pd.DataFrame(calendar_data) import ace_tools as tools; tools.display_dataframe_to_user(name=”Interlaced 9-Day and US Calendar”, dataframe=df)