pandas / 1.4.0 / reference / api / pandas.api.extensions.extensiondtype.empty.html /

pandas.api.extensions.ExtensionDtype.empty

ExtensionDtype. empty ( shape ) [source]

Construct an ExtensionArray of this dtype with the given shape.

Analogous to numpy.empty.

Parameters
shape :int or tuple[int]
Returns
ExtensionArray

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.4.0/reference/api/pandas.api.extensions.ExtensionDtype.empty.html