infer_time_index#

pymc_marketing.mmm.tvp.infer_time_index(date_series_new, date_series, time_resolution)[source]#

Infer the time-index given a new dataset.

Infers the time-indices by calculating the number of days since the first date in the dataset.