Series.map
Map the value of a series to a function or Object
danfo.series.map(callable)
Parameter
Type
Description
Default
callable
Function or Object
A function or object({})
options
Object
inplace: Boolean indicating whether to perform the operation inplace or not. Defaults to false
{
inplace: false
}
Example
Mapping the element in a Series words in an Object
Mapping values in a Series to a representation using functions.
Last updated
Was this helpful?