Laber Labor

Steadily, I continued to labor at Laber Labs on my reading of Rob Hyndman and George Athanasopoulos’ Forecasting Principles and Practice. These Aussies provide helpful tips on the art and science of prediction, tips I happily digested throughout the morning.

Come afternoon, Hongjian gave me phase one of a primer on the Python programming language. A brief mix-up in time and place failed dramatically in its attempt to curtail our progress. We persevered! The “list” data has surprising, and thankfully simplistic, functionality.

For instance, if ‘a’ equals [9, 8, 6, 5], I can write:

a.append(4)

a.extend([3,2,1])

a.insert(2,7)

a.reverse()

and I wouldn’t even have to add the all-helpful a.sort() because ‘a’ would now equal [1,2,3,4,5,6,7,8,9]. Splendid!

Skip to toolbar