You pore through page after page of stack overflow answers and questions until you find something that feels like it matches your error. It appears to be a result of some strange data structure thingamajig going on in your code you’ve been noticing. You find one post where someone complained three years ago about having exactly your error word for word. It actually has an accepted answer saying that he probably accidentally iterated through a list of arrays referencing some NaN’s where it’s expecting a reference or some nonsense and there’s an easy fix. There’s even a reply ‘Thanks, that was it!’ The database in this legacy code is garbage and was obviously written before Pandas was popular. Looking for a bug in this rats nest is going to be a mess. What do you do?
- Look for the type of error shown in the stack overflow
- Rewrite the entire database to make it easier on yourself
You additionally find a link to a meme post on r/Programmer Humor.
Oh god, it’s happening. Farewell my faithfull mailbox
I’m so sorry, last choose your own adventure story I spent a day trying to figure out how to turn off the email notifications on hidden posts and wordpress has just made it impossible
Well it’s definitely worth it, so don’t worry!