Skip to content

fix concat for axis=0 #880

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 2 commits into from
Mar 2, 2024
Merged

fix concat for axis=0 #880

merged 2 commits into from
Mar 2, 2024

Conversation

twoertwein
Copy link
Member

closes #879

Works on pyright - mypy behaves weirdly (the 3rd overload is clearly the first matching overload). @Dr-Irv, feel free to change this PR - not sure whether I will have time to debug the mypy issue before the weekend.

@@ -77,8 +82,8 @@ def test_types_concat_none() -> None:


def test_types_concat() -> None:
s: pd.Series = pd.Series([0, 1, -10])
s2: pd.Series = pd.Series([7, -5, 10])
Copy link
Member Author

Choose a reason for hiding this comment

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

These two annotations messed mypy in the previous commit. up

@twoertwein twoertwein marked this pull request as ready for review March 2, 2024 02:15
Copy link
Collaborator

@Dr-Irv Dr-Irv left a comment

Choose a reason for hiding this comment

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

thanks @twoertwein

@Dr-Irv Dr-Irv merged commit 7dd7b6a into pandas-dev:main Mar 2, 2024
@tvdboom
Copy link

tvdboom commented Mar 2, 2024

thanks for the fix. @Dr-Irv any idea when the next release will be?

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Mar 4, 2024

thanks for the fix. @Dr-Irv any idea when the next release will be?

I usually wait for a number of PR's to come through before doing a release. We've only had 3 since the last release.

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Mar 16, 2024

thanks for the fix. @Dr-Irv any idea when the next release will be?

@tvdboom just released v2.2.1.240316

@twoertwein twoertwein deleted the concat branch April 21, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with concat and passing a Union due to presence of checking for Iterable[None]
3 participants