Adds the validate_freq function to make sure that the frequency can be used to offset the times, e.g. int freq and int times, str freq and polars.
Also makes sure that we preserve the date type for polars when using ranges (time_ranges, fill_gaps) and fixes an error in fill_gaps for int times in polars by adding one to the end (to make it inclusive).
Adds the
validate_freq
function to make sure that the frequency can be used to offset the times, e.g. int freq and int times, str freq and polars. Also makes sure that we preserve the date type for polars when using ranges (time_ranges, fill_gaps) and fixes an error in fill_gaps for int times in polars by adding one to the end (to make it inclusive).