I published v0.2, which includes a bunch of hacked together proof of concept code. This week I dove into the pandas library, focusing on the data manipulation tools that are inherit to pandas. This post covers some of the highlights and demonstrates the initial charting that I’ve been producing.

More to come on what I plan to do with the data; for now those details have to be a trade secret.

Data Frame

The crux of pandas is the dataframe and this week I discoverd that you can load your query results right into a dataframe and not have to write a parser. Notice in the below code that I run the query and place the results into a dataframe with a ‘fetchall()’. This really saves me a lot of headaches when passing around chunks of data and makes it easy to write functions to combine data with overlapping values. Return the dataframe and do more ::work::.

Here’s a query that I use to get NPC kills by region when given a regionID.

Another powerful tool in the library are the resampling options. I’m still trying adjusting the parameters to find a balance on data granularity.

The below graphs show NPC kills over all regions over time. One graph has no resampling while the other has values that I feel display a daily value, normalizing the peaks and valleys that occur due to server downtime and differing activity rates due to timezone.

Heavy Interdictors are a new class for me and I was sure to tell the FC that it was my first time out in the ship. I relied on his direction for bubble placement and up/down activations. There is a certain elegance in placing bubbles to catch incoming our outgoing traffic. You want to be able to trap while allowing your fellow Blues to engage.

It’s a learning experience but even in the hour roam that we were on, I learned a lot. The first thing I noticed is how much longer it takes me to align and get into warp compared to our fellow Drake and Hurricane pilots. This 1600 weighted beast sure takes its time.

I’m open to any tips from fellow Heavy Interdictor pilots and perhaps catching you in a bubble Soon(tm)!