Skip to content

[repo-assist] Add Frame.Between/After/Before/StartAt/EndAt row-range slicing - #736

Merged
dsyme merged 4 commits into
masterfrom
repo-assist/improve-frame-subrange-slicing-3998429690317c8c
Sep 27, 2026
Merged

dsyme merged 4 commits into
masterfrom
repo-assist/improve-frame-subrange-slicing-3998429690317c8c

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

🤖 This PR was created by Repo Assist, an automated AI assistant. Please review carefully before merging.

Summary

Adds Frame.Between / Frame.After / Frame.Before / Frame.StartAt / Frame.EndAt members (and matching Frame module functions), mirroring the row-range slicing API that already exists on Series (Series.Between/After/Before/StartAt/EndAt).

Rationale

Slicing a frame's rows by a key range (e.g. a date range) is a common time-series operation, but Frame had no direct equivalent to the Series range members — users had to write:

df.Rows |> Series.between lo hi |> Frame.ofRows

Now this is:

df.Between(lo, hi)

Implementation reuses the existing Frame.GetSubrange helper (already used internally for Frame's slice operator), so the new members are thin, low-risk wrappers — exactly the same pattern already used for Frame.head/Frame.tail/Frame.chunk in earlier releases (see RELEASE_NOTES.md).

Trade-offs

  • None identified — purely additive API surface, no changes to existing behavior.

Test Status

  • ✅ dotnet build src/Deedle/Deedle.fsproj -c Release — succeeded, no new warnings.
  • ✅ dotnet test tests/Deedle.Tests/Deedle.Tests.fsproj -c Release — 722/722 passed (720 existing + 2 new test functions covering both the members and the module-function wrappers).

Updated RELEASE_NOTES.md under the unreleased 8.1.0 section.

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@ae8d551f07c7ed7619f8c58c7bb4c3ac89395d38

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme
dsyme merged commit fc09449 into master Sep 27, 2026
2 checks passed
@dsyme
dsyme deleted the repo-assist/improve-frame-subrange-slicing-3998429690317c8c branch September 27, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant