Although I don’t know whether OOP will be central to our exploration of NumPy, Pandas and other Python libraries for analytics, here is a simple example of what I find useful.
I want to be able to perform any one of a set of related x,y matrix expressions, and do so repeatedly without re-specifying the math. To do this, I created my own Python class and built in some math expressions, with some specified as class-level methods and others as instance level functions. Along the way, I learned to value a class-level expression to help reduce repetitive instance-level coding. To have a look, click into GitHub: OOP Python Class with Trigonometry.