Apply function

Descripción

Apply a function to a column


File Template: ❌


Prefix

df:apply


Scopes

python


Snippet de código

df['${1:col}'] = df['${1:col}'].apply(${2:lambda x: x})$0