Why does apply() fail on a single column data frame?

You must be logged in to access this course

This course is only available for registered users.

>