Apply method with a lambda function

Report a typo

Complete the solution() function that accepts a pandas dataframe as an argument. Use the .apply() method with a lambda function which transforms the column '1' to the str type and adds the '_number' postfix.

Store the result in the df variable and don't remove the print() statement.

Write a program in Python 3
def solution(df):
print(df)
___

Create a free account to access the full topic