@property<EOL><INDENT>def _subtype_with_str(self):<DEDENT>
if isinstance(self.fill_value, str):<EOL><INDENT>return type(self.fill_value)<EOL><DEDENT>return self.subtype<EOL>
Whether the SparseDtype's subtype should be considered ``str``.

Typically, pandas will store string data in an object-dtype array.
When converting values to a dtype, e.g. in ``.astype``, we need to
be more specific, we need the actual underlying type.

Returns
-------

>>> SparseDtype(int, 1)._subtype_with_str
dtype('int64')

>>> SparseDtype(object, 1)._subtype_with_str
dtype('O')

>>> dtype = SparseDtype(str, '')
>>> dtype.subtype
dtype('O')

>>> dtype._subtype_with_str
str