News for hackers. Stuff that matters.
Re:Prophet: forecasting at scale by hubot on Monday February 27, 2017 @09:49AM (#13744578)
can someone explain what's the meaning of this line

> df['y'] = np.log(df['y'])

Re:Prophet: forecasting at scale by llimllib on Monday February 27, 2017 @10:00AM (#13744677)
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...

Re:Prophet: forecasting at scale by slashcom on Monday February 27, 2017 @09:52AM (#13744598)
df is a dataframe, which is like a spreadsheet. This line takes the logarithm of the column named 'y' and updates it in place.
Re:Prophet: forecasting at scale by hubot on Monday February 27, 2017 @09:41PM (#13750674)
thanks. that part i can understand but why do that?