fletcher.string_mixin module

class fletcher.string_mixin.StringSupportingExtensionArray

Bases: fletcher.string_mixin._IntermediateExtensionArray

Attributes
T
dtype

An instance of ‘ExtensionDtype’.

nbytes

The number of bytes needed to store this object in memory.

ndim

Extension Arrays are only allowed to be 1-dimensional.

shape

Return a tuple of the array dimensions.

size

The number of elements in the array.

Methods

argmax()

Return the index of maximum value.

argmin()

Return the index of minimum value.

argsort([ascending, kind, na_position])

Return the indices that would sort this array.

astype(dtype[, copy])

Cast to a NumPy array with ‘dtype’.

copy()

Return a copy of the array.

dropna()

Return ExtensionArray without NA values.

equals(other)

Return if another array is equivalent to this array.

factorize([na_sentinel])

Encode the extension array as an enumerated type.

fillna([value, method, limit])

Fill NA/NaN values using the specified method.

isna()

A 1-D array indicating if each value is missing.

ravel([order])

Return a flattened view on this array.

repeat(repeats[, axis])

Repeat elements of a ExtensionArray.

searchsorted(value[, side, sorter])

Find indices where elements should be inserted to maintain order.

shift([periods, fill_value])

Shift values by desired number.

take(indices, *[, allow_fill, fill_value])

Take elements from an array.

to_numpy([dtype, copy, na_value])

Convert to a NumPy ndarray.

transpose(*axes)

Return a transposed view on this array.

unique()

Compute the ExtensionArray of unique values.

view([dtype])

Return a view on the array.