Skip to content

Add types for DataFrame.itertuples() and DataFrame.iterrows() #805

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

Closed
Dr-Irv opened this issue Oct 30, 2023 · 3 comments · Fixed by #822
Closed

Add types for DataFrame.itertuples() and DataFrame.iterrows() #805

Dr-Irv opened this issue Oct 30, 2023 · 3 comments · Fixed by #822
Assignees

Comments

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Oct 30, 2023

Right now, DataFrame.itertuples() and DataFrame.iterrows() both don't have return types.

itertuples() can return Iterable[tuple[Any, ...]] in the stubs

iterrows() can return Iterable[tuple[Hashable, Series]]: in the stubs

@lebaudantoine
Copy link
Contributor

May I take this issue?

@Dr-Irv
Copy link
Collaborator Author

Dr-Irv commented Nov 30, 2023

May I take this issue?

Yes, I now assigned it to you

@lebaudantoine
Copy link
Contributor

Please let me know if the PR matches your requirements. 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants