Question from the Python Machine Learning test

Apply a function on the data of a column of a DataFrame type object from the pandas library.