-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
TYP: fix ignores #40452
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
TYP: fix ignores #40452
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6759676
TYP: dtypes.cast
jbrockmendel 2f1ae91
TYP: dtypes.cast
jbrockmendel 1ee41ae
TYP: dtypes.cast
jbrockmendel e9b59d1
TYP: missing
jbrockmendel 6277b44
TYP: ignores in dtpyes.missing
jbrockmendel 453d289
TYP: ignores in internals.construction
jbrockmendel fa6bcfd
TYP: internals.construction
jbrockmendel 2e5ea07
TYP: internals.construction
jbrockmendel 28c4733
TYP: fix ignores
jbrockmendel 26a4fb0
TYP: frame
jbrockmendel b17b8c4
TYP: ignores
jbrockmendel 411e3e3
TYP: fix ignores
jbrockmendel 5a29047
more specific docstring
jbrockmendel 801ea35
Merge branch 'master' into typ-core-3
jbrockmendel 4e8cb5f
update docstring
jbrockmendel 8adca0c
Merge branch 'master' into typ-core-3
jbrockmendel 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
TYP: dtypes.cast
- Loading branch information
commit 1ee41ae3db822afd8278de53373341add183f988
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
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.
The logic has changed here slightly. is there a latent bug here that needs a test.
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.
looking some more, maybe the type annotations for maybe_downcast_to_dtype are incorrect?
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.
since this is only called from one place and that is with numeric_only=True (ought to remove that kwarg) and the two cases excluded here dont have is_numeric_dtype(dtype), the behavior will end up being the same before and after
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.
it does look sketchy, yah
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.
so it does.