-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: Fixed many type hints that were previously ignored with # type: ignore Some of these ignores were masking bugs/unwanted behaviour. Fixes included in this PR: DataFrame/LazyFrame.join now properly handles Expr arguments for left_on/right_on. Series.__setitem__ now uses .cast(UInt64) instead of the non-existant .cast_u64() GBSelection.apply now catches an Error when selection=None (result of call from select_all) Some lines require # type: ignore due to limitations in mypy. For these lines, the error code has been included, e.g. # type: ignore[override]. This means that unintended type errors are still caught. Removed return type hint from __init__ functions, as this is not required in the latest mypy versions (since it is always None). Unused private function _as_float_ndarray deleted from utils.py To do in a future PR: Fix the last three nasty '# type: ignore` statements Properly type hint all the file IO functions; these appear to be incomplete at times
- Loading branch information
Showing
7 changed files
with
127 additions
and
120 deletions.
There are no files selected for viewing
This file contains 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 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 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 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.