Python pandas stuck at version 0.7.0

后端 未结 3 1213
醉酒成梦
醉酒成梦 2020-12-31 05:56

First off, I\'m a novice... I\'m a newbie to Python, pandas, and Linux.

I\'m getting some errors when trying to populate a DataFrame (sql.read_frame() gives an exc

3条回答
  •  天命终不由人
    2020-12-31 06:24

    As nitin points out, you can simply upgrade pandas using pip:

    pip install --upgrade pandas
    

    Since this version of pandas will be installed in site-packages you will, in fact, be at the mercy of any automatic updates to packages within that directory. It's wise to install the versions of packages you want into a virtual environment so you have a consistent working environment with the bonus of reproducibility.

    To answer your last question, the reason Pandas won't "upgrade" to 0.11.0 using apt-get update is that packages (of Pandas) from your distribution lag behind or haven't been created yet.

提交回复
热议问题