OK so I know size isn't everything, and it may even be that there are way too many lines compared to what there should be BUT tonight I am feeling in a celebratory mood none-the-less. 6 months ago I hadn't coded anything ever, and tonight I've completed my 790 line "masterpiece" (don't laugh!) which actually... Continue Reading →

Is it normal to get lost in your own code? This week I am busy with a "real life" project (yay!) - to help me classify SAP users according to system usage and ultimately license type. The totally weird thing I'm finding is that I figure out the right way to code something so it... Continue Reading →

Break it down

Coding thought for the day: if it's not working, break it down to its smallest component parts and you will soon find out why 🙂

A date with a difficult customer

Being an SAP consultant, I'm working with SAP data in Pandas quite a lot. It's common practice to set a "forever" date of 31.12.9999 in SAP and the system handles it, however Pandas has a limitation in this regard where the date cannot readily go beyond the year 2262 which caused me a few headaches... Continue Reading →

A Multi-index conundrum

A Pandas series can have more than one index value. I discovered this fact during the week when I found the .groupby() method which was going to be very useful to me in getting a count of values. I started with data similar to this and my objective was to get a summary of numbers... Continue Reading →

Create a website or blog at WordPress.com

Up ↑