How to use logarithmic functions in Graphlab Create?

User 5277 | 6/13/2016, 4:01:37 PM

I want to apply log function to one column of my SFrame data (called sales). I have tried doing as follows:

sales['sqft_living'].apply(lambda x:math.log(x))

Error displayed: global name 'math' is not defined.

No Comments