- based around rules
rule parse_txt:
input:
txt="input_file.txt"
# some code to work out how many daycare days are in a particular month. | |
# params | |
start_string = "01-09-2021" | |
days_to_count = 2, 3, 4 # NB monday is 0, sunday 6. | |
time_period = "365d" | |
import pandas as pd | |
start = pd.to_datetime(start_string, dayfirst=True) |