Skip to content

Update Table method examples - #14242

Merged
danking merged 4 commits into
hail-is:mainfrom
Will-Tyler:update-examples
Feb 7, 2024
Merged

danking merged 4 commits into
hail-is:mainfrom
Will-Tyler:update-examples

Conversation

@Will-Tyler

Copy link
Copy Markdown
Contributor

Description

In this pull request, I update the docstrings for the sample, head, and semi_join methods of the Table class with clearer examples that demonstrate the functionality of each method.

I also update the unit test for the sample method so that it is deterministic and stronger.

Testing

I ran make -C hail doctest-query hail/table.py to confirm that the docstring tests are passing for the methods that I updated.

@ehigham ehigham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you - this is a great improvement.

@danking
danking merged commit 70ae91b into hail-is:main Feb 7, 2024
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.

3 participants