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.
Not a programmer, y funny?
numpy
andpandas
are two different modules that have similar uses, but are most definitely not interchangeable. Line 500 is importingnumpy
, but calling itpandas
. Meaning later on in the code, any time the script makes use ofnumpy
, it actually has to refer to it aspandas
, and vice versa, causing all sorts of confusion and shenanigans.