Ramping Back Up

Do you want to continue? [Y/n]

07/17/2021

5 Minutes to Read

[ storytime  ]

I am finally getting back to coding outside of work. I certainly have not stopped coding all this time, I have just been spending my time at home doing anything and everything else.

What is New?

In my last post I detailed just how burned out by coding I felt - these last several months mostly avoiding it at home was much needed. I have dabbled a bit here and there after work on a few things over the past few weeks and find myself wanting to do more and more each day.

Back in October I started a new job working in Python doing systems analysis. While I hardly do any actual systems analysis, I have had great freedoms with the tooling and improvements I have been bringing to the department. The department I work for is largely struggling to use modern tools, libraries, and processes. Much of what the other analysts use are very old and horribly architected processes and scripts (an odd amalgam of old MATLAB, Python, and Bash). Nothing makes sense, but things work just enough to get by. Getting by is not good enough though - things there really need to be better.

While the current state is terribly frustrating, it has given me an opportunity to educate others and introduce them to new technologies and methods that they would not otherwise learn for some time. I have primarily been focused on automating manual tasks, but I have also been spending a lot of time in recent months developing dashboards and visualizations for our analysis stakeholders (i.e. interactive and shareable analysis).

While working these projects I have been relying very heavily on producing browser-based content. I have been learning a good amount of HTML/CSS/JavaScript, and I have been enjoying it far more than I thought I would. It is indeed different and annoying at times, but I have a much better understanding of how these technologies work now.

What is Next?

From here, I need to prepare for the Fall 2021 semester. I am teaching a new Data Visualization course, and this means writing new course material from scratch - this is going to be a large amount of work! Aside from that, I have started putting together a gallery of Jupyter Notebooks to show off some cool techniques/tricks I have learned in recent months. The first of these is what my team and I are calling “HP Bars” - below is a sneak peak at them (the notebook will show how to automatically do this with panel + pandas!). The idea is simple - show a colorbar in a button/tab that represents a categorical breakdown of the data contained within. This is just a small way of providing high level insight when you need to present many tabs of data and need to hone in on specific pieces.

Check out the sample below and keep an eye on the gallery, which is where I will start throwing some code into!

HP Bar Sample

Here we have some tables containing the numbers 1-27. We highlight prime numbers, perfect squares, and perfect cubes. While this is absolutely contrived, if for instance we wanted to look at the group with the most perfect squares, we can see based just on the tab that Data 1 is where we should look. We use this at our analysis meetings to focus in on tabs (groups of data) that contain high numbers of deltas in our regression analysis. Not only is it very useful, it is even easier to implement!


Data 1

Col1 Col2 Col3
1 2 3
4 5 6
7 8 9

Data 2

Col1 Col2 Col3
10 11 12
13 14 15
16 17 18

Data 3

Col1 Col2 Col3
19 20 21
22 23 24
25 26 27
Comments/Questions?
If you have any questions or comments, open an issue!