this post was submitted on 13 Jun 2023
41 points (95.6% liked)

Programmer Humor

32442 readers
912 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

numpy and pandas are two different modules that have similar uses, but are most definitely not interchangeable. Line 500 is importing numpy, but calling it pandas. Meaning later on in the code, any time the script makes use of numpy, it actually has to refer to it as pandas, and vice versa, causing all sorts of confusion and shenanigans.

[โ€“] [email protected] 1 points 1 year ago

I feel like there should be an award for the most interesting error code, regardless of how highly subjective that is.