-
-
Notifications
You must be signed in to change notification settings - Fork 143
Introduce UnknownSeries and UnknownIndex, type core.strings.pyi
using them
#1146
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 all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0d48f36
make typing in pandas_stubs.core.strings.pyi strict, add UnknownSerie…
MarcoGorelli ca10bf2
undo pyproject.toml changes
MarcoGorelli 4b8183d
use class, use pyright: strict
MarcoGorelli def6eea
update pyright
MarcoGorelli 9c5b33a
reduce diff
MarcoGorelli 9b63e3f
fixup
MarcoGorelli fd6188a
fixup
MarcoGorelli bcdd40e
include UnknownSeries in str.cat
MarcoGorelli dba1bda
move UnknownSeries and UnknownIndex location
MarcoGorelli 6a31e87
use typealias
MarcoGorelli 5edf982
use Series[str] as .cat return type
MarcoGorelli 9a47508
use -> T so it matches other .str methods like .str.uppercase
MarcoGorelli 0fabb99
use _TS2 for findall
MarcoGorelli 427a707
add test to cover passing UnknownSeries to cat
MarcoGorelli de28385
preserve type in series.str
MarcoGorelli e40d245
simplify
MarcoGorelli 92dc75d
use Mapping instead of dict as it is invariant
MarcoGorelli 231b54d
fixup
MarcoGorelli 45b8da0
split out into separate file
MarcoGorelli 385b1bd
split out into separate file
MarcoGorelli 412b1ab
type check boolean return values
MarcoGorelli 2463ce9
integer return type
MarcoGorelli b0cade6
integer return type
MarcoGorelli 29710a4
strings and bytes
MarcoGorelli 3298868
list
MarcoGorelli 5dfa7fa
expanding
MarcoGorelli 3d581a8
fixup
MarcoGorelli 005759c
keep fixing
MarcoGorelli aca32d5
keep fixing
MarcoGorelli b244308
overloads cat
MarcoGorelli 0d1fc59
fixup str.extract
MarcoGorelli 7ccfa0d
rename for clarity
MarcoGorelli b4839a0
lint
MarcoGorelli 17e280f
annotate idx2 as per mypys request
MarcoGorelli 208a55c
return _T_STR, except for `slice` because that one preserves the inpu…
MarcoGorelli 3dc660e
mypy fixup
MarcoGorelli b2d4657
disallow .str on certain series types
Dr-Irv ce7575e
Revert "disallow .str on certain series types"
MarcoGorelli 98cb162
Merge remote-tracking branch 'upstream/main' into strict-strings-typing
MarcoGorelli 3e24de0
use Index of list[str]
MarcoGorelli 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
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.
Uh oh!
There was an error while loading. Please reload this page.