Skip to content

TYP: misc typing from pandas-stubs in io and plotting #51473

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 7 commits into from
Mar 9, 2023
Merged

TYP: misc typing from pandas-stubs in io and plotting #51473

merged 7 commits into from
Mar 9, 2023

Conversation

twoertwein
Copy link
Member

No description provided.

@twoertwein twoertwein added the Typing type annotations, mypy/pyright type checking label Feb 20, 2023
cls, searchpath, html_table: str | None = None, html_style: str | None = None
):
cls,
searchpath: Sequence[str],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also accepts strings based on the stubs

skipfooter: int = ...,
nrows: int | None = ...,
na_values=...,
na_values: Sequence[str] | Mapping[str, Sequence[str]] | None = ...,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to also allow a str

Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay, but there's a merge conflict

@twoertwein
Copy link
Member Author

rebased + green

@mroeschke mroeschke added this to the 2.1 milestone Mar 9, 2023
@twoertwein
Copy link
Member Author

green again

@mroeschke mroeschke merged commit dd39140 into pandas-dev:main Mar 9, 2023
@mroeschke
Copy link
Member

Thanks @twoertwein

@twoertwein twoertwein deleted the type branch August 9, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants