Open
Description
Mentioned in #46008
The signature for ExtensionArray._concat_same_type
is defined as def _concat_same_type(cls, sequence)
.
Some internal extension arrays define the method with an axis argument e.g. BaseMaskedArray._concat_same_type(cls, sequence, axis)
Some internal routines expect _concat_same_type
to accept axis e.g _concat_datetime
(hit by checking kind
on the dtype).
I imagine either:
- Internally, remove axis for internally defined
_concat_same_type(cls, sequence, axis)
(imagine not feasible) - Add
axis
to theExtensionArray._concat_same_type
signature.