Match the types of functions that can be used in the .apply() method with their examples.
DataFrame.apply()
Types of functions
Report a typo
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) ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.