pandas.api.extensions.ExtensionArray._from_sequence_of_strings

pandas 3.1.1 · Extensions · method

Parse a sequence of strings into values of the custom extension dtype.

Call syntax

pd.api.extensions.ExtensionArray._from_sequence_of_strings(strings, *, dtype, copy=False)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
strings Required
Positional or keyword
Sequence
dtype Required
Keyword only
ExtensionDtype

Choose the data type for the input conversion or result.

copy Optional
Keyword only
Default False
bool

Control whether data is copied where the API supports that choice.

Returns

ExtensionArray