Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ f
Function
f
pandas/core/common.py:541–545 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
539
""
"
540
541
def
f(x):
542
if
x in mapper:
543
return
mapper[x]
544
else
:
545
return
x
546
547
return
f
if
isinstance(mapper, (abc.Mapping, ABCSeries))
else
mapper
548
Callers
4
_f
Method · 0.70
nancorr
Function · 0.70
_apply_str
Method · 0.70
rename_axis
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected