class_docstr: The class for binary operations of pandas-on-Spark objects with spark type: StringType.
class_docstr_tok: ["The","class","for","binary","operations","of","pandas-on-Spark","objects","with","spark","type",":","StringType","."]
code: def rmul(self, left: IndexOpsLike, right: Any) -> SeriesOrIndex:
      _sanitize_list_like(right)
      if isinstance(right, int):
          return cast(
              SeriesOrIndex,
              left._with_new_scol(
                  F.repeat(left.spark.column, right),
                  field=left._internal.data_fields[0],
              ),
          )
      else:
          raise TypeError(
              "Multiplication can not be applied to given types."
          )
  
imports: from typing import Any, Union, cast
  import pandas
  from pandas.api.types import CategoricalDtype
  from pyspark.sql import functions
  from pyspark.sql.types import IntegralType, StringType
  from pyspark.sql.utils import pyspark_column_op
  from pyspark.pandas._typing import Dtype, IndexOpsLike, SeriesOrIndex
  from pyspark.pandas.base import column_op, IndexOpsMixin
  from pyspark.pandas.data_type_ops.base import DataTypeOps, _as_categorical_type, _as_other_type, _as_string_type, _sanitize_list_like
  from pyspark.pandas.typedef import extension_dtypes, pandas_on_spark_type
  from pyspark.sql.types import BooleanType
label_desc: Use image node_id 5 for calling the StringOps obj's underlying member method code with example usage: obj.rmul(left, right) and returns: cast