functime-org / functime

Time-series machine learning at scale. Built with Polars for embarrassingly parallel feature extraction and forecasts on panel data.
https://docs.functime.ai
Apache License 2.0
970 stars 52 forks source link

% support for plotting num_points param #236

Open baggiponte opened 3 weeks ago

baggiponte commented 3 weeks ago

After #235 I could close #162 but I'd still like to keep the tabs open for supporting a % num_points param to display a % of the series.

montanarograziano commented 2 weeks ago

Can I work on this? I might have a working solution, but it requires to collect the LazyFrame of the time series to get the row count. Is there a better way to do it staying lazy?

baggiponte commented 2 weeks ago

Sure! We are already collecting somewhere in the code (I'm on the phone so can't be super precise) so it should not be a huge problem.