class_docstr: String Methods operating on object-dtype ndarrays.
class_docstr_tok: ["String","Methods","operating","on","object-dtype","ndarrays","."]
code: def _str_rstrip(self, to_strip=None):
      return self._str_map(lambda x: x.rstrip(to_strip))
  
imports: from __future__ import annotations
  import functools
  import re
  import sys
  import textwrap
  from typing import TYPE_CHECKING, Callable, Literal
  import unicodedata
  import numpy
  from pandas._libs import lib
  import pandas._libs.missing
  import pandas._libs.ops
  from pandas._typing import NpDtype, Scalar
  from pandas.core.dtypes.common import is_scalar
  from pandas.core.dtypes.missing import isna
  from pandas.core.strings.base import BaseStringArrayMethods
label_desc: Use image node_id 49 for calling the ObjectStringArrayMixin obj's underlying member method code with example usage: obj._str_rstrip(to_strip) and returns: self