Skip to content

REGR: concat(ints, bools) casting to object #42092 #42541

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 1 commit into from
Jul 15, 2021

Conversation

jbrockmendel
Copy link
Member

@jreback jreback added this to the 1.3.1 milestone Jul 14, 2021
@jreback jreback added Dtype Conversions Unexpected or buggy dtype conversions Regression Functionality that used to work in a prior pandas version Reshaping Concat, Merge/Join, Stack/Unstack, Explode labels Jul 14, 2021
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

lgtm

@jreback jreback merged commit 80a72c1 into pandas-dev:master Jul 15, 2021
@jreback
Copy link
Contributor

jreback commented Jul 15, 2021

@meeseeksdev backport 1.3.x

@lumberbot-app
Copy link

lumberbot-app bot commented Jul 15, 2021

Something went wrong ... Please have a look at my logs.

jreback pushed a commit that referenced this pull request Jul 15, 2021
@lithomas1
Copy link
Member

lithomas1 commented Jul 15, 2021

@jreback @jbrockmendel I think this pull request added a test(test_concat_bool_with_int) that is failing with ArrayManager. See https://github.com/pandas-dev/pandas/actions/workflows/ci.yml where the last few runs are all failing.

Can this be reverted?

@@ -23,7 +23,7 @@ Fixed regressions
- Performance regression in :meth:`DataFrame.to_dict` and :meth:`Series.to_dict` when ``orient`` argument one of "records", "dict", or "split" (:issue:`42352`)
- Fixed regression in indexing with a ``list`` subclass incorrectly raising ``TypeError`` (:issue:`42433`, :issue:`42461`)
- Fixed regression in :meth:`DataFrame.isin` and :meth:`Series.isin` raising ``TypeError`` with nullable data containing at least one missing value (:issue:`42405`)
-
- Regression in :func:`concat` between objects with bool dtype and integer dtype casting to object instead of to integer (:issue:`42092`)
Copy link
Contributor

Choose a reason for hiding this comment

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

@jbrockmendel in theory we should the AM PR as an additional PR here

feefladder pushed a commit to feefladder/pandas that referenced this pull request Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dtype Conversions Unexpected or buggy dtype conversions Regression Functionality that used to work in a prior pandas version Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REGR: 1.3.0rc behavior change with concatenating boolean and numeric columns
3 participants