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

Add convenience method to dummy code categorical variables #14269

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Will-Tyler
Copy link
Contributor

@Will-Tyler Will-Tyler commented Feb 7, 2024

Description

In this pull request, I add a convenience method to dummy-code categorical variables in a matrix table. See the dummy variable Wikipedia article for background. This pull request closes #13601.

Testing

I add a unit test.

For the documentation changes, I built the documentation locally and manually inspected the output to confirm that the documentation appears as expected.

@Will-Tyler
Copy link
Contributor Author

Will-Tyler commented Mar 8, 2024

I confirmed that the doctest is passing locally, and I rebased on the main branch.

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.

[query] implement hl.dummy_code
2 participants