(self, max_rows=5)
| 4666 | |
| 4667 | @derived_from(pd.Series) |
| 4668 | def to_string(self, max_rows=5): |
| 4669 | # option_context doesn't affect |
| 4670 | return self._repr_data().to_string(max_rows=max_rows) |
| 4671 | |
| 4672 | def _repr_data(self): |
| 4673 | return _repr_data_series(self._meta, self._repr_divisions) |