• SatyrSack@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.

    • bane_killgrind
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

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