azmyrajab / polars_ols

Polars least squares extension - enables fast linear model polar expressions
MIT License
113 stars 10 forks source link

how to ignore the warning in rolling_ols min_period #29

Closed lesliechiu0525 closed 2 months ago

lesliechiu0525 commented 3 months ago

截屏2024-08-16 10 38 10 I want to ignore this warning

azmyrajab commented 3 months ago

Hi @lesliechiu0525, thanks for reporting this. I’ll try to silence this (only print it in rust debug mode) over the weekend. Unfortunately no easy way to toggle it off cleanly right now

azmyrajab commented 2 months ago

This is now fixed - it will only print if someone was debugging the rust program

https://github.com/azmyrajab/polars_ols/blob/main/src/least_squares.rs#L902

lesliechiu0525 commented 2 months ago

This is now fixed - it will only print if someone was debugging the rust program

https://github.com/azmyrajab/polars_ols/blob/main/src/least_squares.rs#L902

Thanks