Types of functions

Report a typo

Match the types of functions that can be used in the .apply() method with their examples.

Match the items from left and right columns
Lambda function
Numpy function
Pandas function
Custom function
Built-in function
df.apply(lambda x: x.lower())
df.apply(np.max)
df.apply(clean_text, axis=1)
df['one_column'].map({'A': 'B', 'B':'C'})
df.apply(min, axis=1)
___

Create a free account to access the full topic