pandas.Series.map# Series.map(arg, na_action=None)[source]# Map values of Series according to an input mapping or function. Used for substituting each value in a Series with another value, that may be derived from a function, a dict or a Series. Parameters: argfunction, collections.abc.Mapping subclass or SeriesMapping correspondence. na_action{None, ‘ignore’}, default NoneIf ‘ignore’, propagate N