Python and Pandas
Jul. 26th, 2013 02:52 pmYesterday, someone at work posted an query about numpy structured arrays. And while the query itself wasn't that complicated, one of the responses suggested that the sorts of tasks they were hoping to carry out might be better suited to pandas than numpy. So, as a heavy user of structured records, I was intrigued.
Not only did I find that someone had bundled pandas into our standard version of python, but a few quick tests seemed to show that it offered a whole suite of data slicing and manipulation tools that make some of things I've been working on over the last couple of weeks trivially quick to do. Best of all via pandas I discovered a couple of optimised libraries, including the multi-threaded numexpr which kicks the performance of array operations into orbit!
Time, I think, to update my iMac with the full range of scientific python bits and pieces. I'm especially keen on iPython notebooks: given all the data analysis I've been doing lately, I'd really love something like an interactive lab book for all my scribbles and calculations...
Not only did I find that someone had bundled pandas into our standard version of python, but a few quick tests seemed to show that it offered a whole suite of data slicing and manipulation tools that make some of things I've been working on over the last couple of weeks trivially quick to do. Best of all via pandas I discovered a couple of optimised libraries, including the multi-threaded numexpr which kicks the performance of array operations into orbit!
Time, I think, to update my iMac with the full range of scientific python bits and pieces. I'm especially keen on iPython notebooks: given all the data analysis I've been doing lately, I'd really love something like an interactive lab book for all my scribbles and calculations...