Nixtla / utilsforecast

https://nixtlaverse.nixtla.io/utilsforecast
Apache License 2.0
40 stars 6 forks source link

add validate_freq function #44

Closed jmoralez closed 9 months ago

jmoralez commented 9 months ago

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).

review-notebook-app[bot] commented 9 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB