Hacker News new | ask | show | jobs
by llimllib 3405 days ago
I have not read the code, but assuming df is a pandas dataframe, it sets the 'y' column to the log of what was previously the 'y' column.

https://gist.github.com/llimllib/385230f38c3f9b70c3e46158e60...