Pandas · Method
df.map
Apply a scalar function to every cell of a DataFrame. Missing values can be skipped, and extra keyword arguments can be passed to the function.
Last updated
- Since
- 2.1.0
Syntax
DataFrame.map(func, na_action=None, **kwargs)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
DataFrame.applyDataFrame.replaceSeries.map