modin/pandas/series.py
def repeat(self, repeats, axis=None):  # noqa: PR01, RT01, D200
        """
        Repeat elements of a Series.
        """
        if (isinstance(repeats, int) and repeats == 0) or (
            is_list_like(repeats) and len(repeats) == 1 and repeats[0] == 0
        ):
            return self.__constructor__()

        return self.__constructor__(query_compiler=self._query_compiler.repeat(repeats))

        Repeat elements of a Series.
        
Repeat elements of a Series.
Repeat elements of a Series .
def repeat(self, repeats, axis=None):  
        if (isinstance(repeats, int) and repeats == 0) or (
            is_list_like(repeats) and len(repeats) == 1 and repeats[0] == 0
        ):
            return self.__constructor__()
        return self.__constructor__(query_compiler=self._query_compiler.repeat(repeats))
def repeat ( self , repeats , axis = None ) : if ( isinstance ( repeats , int ) and repeats == 0 ) or ( is_list_like ( repeats ) and len ( repeats ) == 1 and repeats [ 0 ] == 0 ) : return self . __constructor__ ( ) return self . __constructor__ ( query_compiler = self . _query_compiler . repeat ( repeats ) )
Repeat elements of a Series.
Repeat elements of a Series .
# noqa: PR01, RT01, D200 """
        Repeat elements of a Series.
        """
self
repeats
axis