Skip to content

Conversation

@jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

Broken off from #40149. Like #40149, this backs DTBlock/TDBlock by (sometimes 2D) DTA/TDA. Unlike #40149, this does not make the DTA backing DatetimeTZBlock sometimes-2D.

@jbrockmendel jbrockmendel added Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code labels Mar 22, 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.

also pls rebase

@jbrockmendel
Copy link
Member Author

rebased + green. between this and #40477 we're within striking distance of ripping out a couple more Block subclasses

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.

this looks pretty good, just a small comment

@jreback jreback added this to the 1.3 milestone Mar 29, 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.

just a question. what's failing on master?


def blk_func(values, axis=1):
if isinstance(values, ExtensionArray):
if values.ndim == 2:
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't this just axis=axis ?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure. next pass

@jbrockmendel
Copy link
Member Author

just a question. what's failing on master?

havent looked this morning, but last night it was something td64/dt64-casting related merged into npdev

limit_area=limit_area,
)

values = maybe_coerce_values(values)
Copy link
Contributor

Choose a reason for hiding this comment

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

prob can have maybe_coerce_values do downcasting (maybe)

@jreback jreback merged commit a3bb751 into pandas-dev:master Mar 30, 2021
@jbrockmendel jbrockmendel deleted the ref-hybrid-4 branch March 30, 2021 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants