modin/pandas/series.py
def map(self, arg, na_action=None):  # noqa: PR01, RT01, D200
        """
        Map values of Series according to input correspondence.
        """
        if not callable(arg) and hasattr(arg, "get"):
            mapper = arg

            def arg(s):
                return mapper.get(s, np.nan)

        return self.__constructor__(
            query_compiler=self._query_compiler.applymap(
                lambda s: arg(s)
                if pandas.isnull(s) is not True or na_action is None
                else s
            )
        )

        Map values of Series according to input correspondence.
        
Map values of Series according to input correspondence.
Map values of Series according to input correspondence .
def map(self, arg, na_action=None):  
        if not callable(arg) and hasattr(arg, "get"):
            mapper = arg
            def arg(s):
                return mapper.get(s, np.nan)
        return self.__constructor__(
            query_compiler=self._query_compiler.applymap(
                lambda s: arg(s)
                if pandas.isnull(s) is not True or na_action is None
                else s
            )
        )
def map ( self , arg , na_action = None ) : if not callable ( arg ) and hasattr ( arg , "get" ) : mapper = arg def arg ( s ) : return mapper . get ( s , np . nan ) return self . __constructor__ ( query_compiler = self . _query_compiler . applymap ( lambda s : arg ( s ) if pandas . isnull ( s ) is not True or na_action is None else s ) )
Map values of Series according to input correspondence.
Map values of Series according to input correspondence .
# noqa: PR01, RT01, D200 """
        Map values of Series according to input correspondence.
        """
self
arg
na_action