Skip to content

Docs: Add type hints and examples to cross_metadata docstring#1216

Open
abdullahiftikharcode wants to merge 1 commit intomalariagen:masterfrom
abdullahiftikharcode:docs-add-cross-metadata-docstring
Open

Docs: Add type hints and examples to cross_metadata docstring#1216
abdullahiftikharcode wants to merge 1 commit intomalariagen:masterfrom
abdullahiftikharcode:docs-add-cross-metadata-docstring

Conversation

@abdullahiftikharcode
Copy link

Description

This PR improves the documentation and typing for the cross_metadata method inside Ag3. Specifically it:

  • Adds the -> pd.DataFrame return type hint to improve developer tooling/IDE support.
  • Adds an Examples section to the numpy-style docstring demonstrating standard usage, bringing it up to parity with other public methods in the API.

Changes Made

  • Modified malariagen_data/ag3.py

Testing

  • Code follows project style guidelines
  • Self-review completed
  • Changes are well documented

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.

1 participant