-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simple tsfresh unit tests #92
Add simple tsfresh unit tests #92
Conversation
variation_coefficient. feat: Add unit tests for - var_gt_std - large_standard_deviation - variation_coefficient - count_range
with variation_coefficient
for ruff pre-commit
for not series in variation_coefficient
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
and abs mean change
A series needs to differentiate between an int and float mean, whereas DataFrame/LazyFrame doesn't appear to. I think it could be related to pola-rs/polars#11736. But 0.0 == 0 returns True anyway I would push for returning nan for 0/0, and inf/-inf for |
Integrate Mathieu's proposal for handling zero mean in variation_coefficient. Co-authored-by: Mathieu Cayssol <49449000+MathieuCayssol@users.noreply.github.com>
Integrate Mathieu's proposal to update unit tests for zero mean in variation_coefficient. Co-authored-by: Mathieu Cayssol <49449000+MathieuCayssol@users.noreply.github.com>
Co-authored-by: Mathieu Cayssol <49449000+MathieuCayssol@users.noreply.github.com>
New tests
Changes to tsfresh variation_coefficient function
also of note: Polars is limiting the significant figures with this function (I don't recall exactly, but this may be a local setting which can be changed).
Miscellaneous
Added a noqa on the second test_percent_reocurring_value test name - ruff pre-commit hook wasn't happy with it.
This looks like a lot of changes, but most of it is pre-commit reformatting.
Start at green line 58. (I use flake8 lint on save usually, but have turned that off now).