Skip to content

docs: update docstrings for consistency with index-type generalization - #215

Merged
ChrisMarsden833 merged 2 commits into
nodatesfrom
docs/docstring-updates
Jul 25, 2026
Merged

docs: update docstrings for consistency with index-type generalization#215
ChrisMarsden833 merged 2 commits into
nodatesfrom
docs/docstring-updates

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR updates docstrings for consistency with the index-type generalization:

  • Fix detect_trends.py: timestamps → dates, segmenets → segments
  • Fix segments_refine/trend_classify.py: Series DataFrame → Time series DataFrame
  • Fix segments_refine/gradual_expand_contract.py: Series DataFrame → Time series DataFrame
  • Fix segments_get.py: Series DataFrame → Time series DataFrame
  • Update conftest.py docstring to mention numeric types (int, float) in addition to str/Timestamp

All tests pass after these changes.

- Fix detect_trends.py: timestamps → dates, segmenets → segments
- Fix segments_refine/trend_classify.py: Series DataFrame → Time series DataFrame
- Fix segments_refine/gradual_expand_contract.py: Series DataFrame → Time series DataFrame
- Fix segments_get.py: Series DataFrame → Time series DataFrame
- Update conftest.py docstring to mention numeric types (int, float) in addition to str/Timestamp
@github-actions
github-actions Bot requested a review from RussellSB as a code owner July 9, 2026 06:19
@github-actions
github-actions Bot requested review from ChrisMarsden833 and removed request for RussellSB July 9, 2026 06:41
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

📚 Docs preview removed

The docs preview for this PR has been cleaned up.

github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ChrisMarsden833
ChrisMarsden833 merged commit 99ee9b1 into nodates Jul 25, 2026
6 checks passed
@ChrisMarsden833
ChrisMarsden833 deleted the docs/docstring-updates branch July 25, 2026 18:15
github-actions Bot added a commit that referenced this pull request Jul 25, 2026
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