-
Notifications
You must be signed in to change notification settings - Fork 170
fix(typing): Narrow TypeVar(s) used in (Data|Lazy)Frame
#2356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
aa6578e
fix(typing): Narrow `IntoDataFrame`
dangotbanned 51c5b63
fix(typing): Remove `DataFrame` from `IntoFrame`
dangotbanned 6cbbc74
fix(typing): Narrow `IntoLazyFrame`, `IntoFrame`
dangotbanned 255ab27
fix(typing): Annotate `DataFrame._compliant_frame`
dangotbanned ba2f6e1
chore: Add missing `CompliantDataFrame.pivot`
dangotbanned 1815752
fix(typing): Ensure `__iter__` is available on group_by
dangotbanned 07deea2
chore(typing): Fix most of `DataFrame`
dangotbanned 3881822
chore(typing): Ignore interchange `[type-var]`
dangotbanned 375fabc
test(typing): Barely fix dodgy spark typing
dangotbanned 21e80ef
fix: Implement `to_numpy` to catch args
dangotbanned c124985
fix(typing): Annotate `LazyFrame._compliant_frame`
dangotbanned 831a6be
chore(typing): Ignore and add note for `spark_like` cast
dangotbanned 1725f36
chore(typing): Partial `v1` backport
dangotbanned c4bed59
fix(typing): Just preserve `v1` behavior
dangotbanned 6a9fd91
simplify
dangotbanned ed65ad2
try old `Union`
dangotbanned b97149d
Merge remote-tracking branch 'upstream/main' into narrow-type-var-frame
dangotbanned 6a66779
docs(typing): Provide more context on what and why
dangotbanned 675329c
Merge branch 'main' into narrow-type-var-frame
dangotbanned 5dd7825
Merge branch 'main' into narrow-type-var-frame
dangotbanned a1c51ff
Merge branch 'main' into narrow-type-var-frame
dangotbanned c2b328b
Merge branch 'main' into narrow-type-var-frame
dangotbanned b66d1bf
Merge branch 'main' into narrow-type-var-frame
dangotbanned ba525f1
Merge branch 'main' into narrow-type-var-frame
dangotbanned c45f1f4
Merge branch 'main' into narrow-type-var-frame
dangotbanned 322b00d
Merge branch 'main' into narrow-type-var-frame
dangotbanned d6cb16b
chore(typing): Use `Sequence[str]` in `pivot`
dangotbanned cbd60d9
refactor(typing): Use `PivotAgg`
dangotbanned 53722e8
Merge remote-tracking branch 'upstream/main' into narrow-type-var-frame
dangotbanned e111fc3
Merge branch 'main' into narrow-type-var-frame
dangotbanned 23158d1
Merge branch 'main' into narrow-type-var-frame
dangotbanned bc72941
Merge branch 'main' into narrow-type-var-frame
dangotbanned a1fb349
Merge branch 'main' into narrow-type-var-frame
dangotbanned File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FBruzzesi I forgot to mention this will probably be helpful in getting the typing working for (#2325).
It means you can use
CompliantGroupByforPolars*and put the unrelated parts here.I needed to add it to resolve an unrelated issue (1815752)