[repo-assist] Add Frame.Between/After/Before/StartAt/EndAt row-range slicing - #736
Merged
dsyme merged 4 commits intoSep 27, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…-3998429690317c8c
dsyme
approved these changes
Sep 27, 2026
…-3998429690317c8c
…-3998429690317c8c
dsyme
deleted the
repo-assist/improve-frame-subrange-slicing-3998429690317c8c
branch
September 27, 2026 16:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 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.EndAtmembers (and matchingFramemodule functions), mirroring the row-range slicing API that already exists onSeries(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
Framehad no direct equivalent to theSeriesrange members — users had to write:Now this is:
Implementation reuses the existing
Frame.GetSubrangehelper (already used internally forFrame's slice operator), so the new members are thin, low-risk wrappers — exactly the same pattern already used forFrame.head/Frame.tail/Frame.chunkin earlier releases (seeRELEASE_NOTES.md).Trade-offs
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.mdunder the unreleased8.1.0section.Add this agentic workflow to your repo
To install this agentic workflow, run