1"""
2Implementation of pandas.Series.str and its interface.
3
4* strings.accessor.StringMethods : Accessor for Series.str
5
6Most methods on the StringMethods accessor follow the pattern:
7
8 1. extract the array from the series (or index)
9 2. Call that array's implementation of the string method
10 3. Wrap the result (in a Series, index, or DataFrame)
11
12To avoid namespace clashes and pollution,
13these are prefixed with `_str_`. So ``Series.str.upper()`` calls
14``Series.array._str_upper()``. The interface isn't currently public
15to other string extension arrays.
16"""
17# Pandas current implementation is in ObjectStringArrayMixin. This is designed
18# to work on object-dtype ndarrays.
19#
20# - ObjectStringArrayMixin
21# - StringArray
22# - NumpyExtensionArray
23# - Categorical
24# - ArrowStringArray