Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import pandas.core.generic as generic
import pandas.core.nanops as nanops
import pandas.lib as lib
from pandas.util.decorators import Appender, Substitution
from pandas.util.decorators import Appender, Substitution, cache_readonly

from pandas.compat.scipy import scoreatpercentile as _quantile

Expand Down Expand Up @@ -2626,6 +2626,10 @@ def tz_localize(self, tz, copy=True):

return Series(new_values, index=new_index, name=self.name)

@cache_readonly
def str(self):
from pandas.core.strings import StringMethods
return StringMethods(self)

_INDEX_TYPES = ndarray, Index, list, tuple

Expand Down
Loading