• Kerb
    link
    fedilink
    51 year ago

    Import pandas as np
    Import numpy as tf
    Import matplotlib.pyplotlib as pd
    Import tensorflow as plt

    Or if your more of a c++ guy:

    #define true false
    #define false true

    • @SatyrSack
      link
      11 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.