Repository navigation
Rename wts to weights and allow passing variable name to it - #631
Merged
Merged
Conversation
This is particularly useful when some observations are dropped because of missing values. Also rename some internal arguments and variables. Drop support for non-`AbstractWeights` (which was deprecated in 1.9.1) but continue printing a helpful error message.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #631 +/- ##
==========================================
+ Coverage 96.95% 97.20% +0.24%
==========================================
Files 8 8
Lines 1215 1216 +1
==========================================
+ Hits 1178 1182 +4
+ Misses 37 34 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Member
It would be useful with an example of that here in the PR. |
nalimilan
force-pushed
the
nl/weightsarg
branch
from
April 19, 2026 10:09
a34131f to
848a41c
Compare
Member
Author
|
Good idea. Done. |
Member
|
Did you add it as a test? I think it would be useful to see an example in the top post here. |
Member
Author
|
I put it in the manual. Is that what you mean? |
Member
|
It would make it easier to understand the PR is the top post included an example. |
Member
Author
|
Ah OK got it. I've added the example from the manual to the top post. |
andreasnoack
approved these changes
Apr 21, 2026
Member
Author
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is particularly useful when some observations are dropped because of missing values. Also rename some internal arguments and variables.
Drop support for non-
AbstractWeights(which was deprecated in 1.9.1) but continue printing a helpful error message.Illustration:
Supersedes #570
Fixes #255
Fixes #350
Cc: @gragusa