Match the result_type parameter to it's returned output.
DataFrame.apply()
Result types
Report a typo
Match the items from left and right columns
result_type='broadcast'result_type='expand'result_type='reduce'A reduced single value of the applied function
A frame of the original shape with the repeated result for each element
A frame or series with the function applied to each element
___
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.