pandas.api.extensions.ExtensionArray.shape — pandas 2.2.3 documentation (original) (raw)

property ExtensionArray.shape[source]#

Return a tuple of the array dimensions.

Examples

arr = pd.array([1, 2, 3]) arr.shape (3,)