Skip to content
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

Added an option to return drop_index #194

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andrejmuhic
Copy link

It seems that there is no way currently to retrieve drop_index in case of na_action='drop'
I did minimal work to add this option.
I decided to pass it through kwargs and did special handling of return_drop_index keyword argument through the pipeline.
Another option would be to attach this to ModelSpec(s) itself but that seems dubious and not the right place logically.

@matthewwardrop
Copy link
Owner

Hi @andrejmuhic ! Thanks so much for taking time to submit a patch. I have a proposal for a simpler implementation that doesn't add cruft to the model spec or require separate entry methods in PR #197 . Let me know if it is fit for your purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants