Python Pandas in Sage Math 9.0 (Jupyter) - Windows

久未见 提交于 2021-01-29 00:12:47

问题


I've just installed Sage Math 9.0 on Windows and it comes with a jupyter environment. I do have Python installed on my PC and from within the command line i can use python and pandas. But from the jupyter that came with SageMath i can not use pandas.

It looks like the jupyter that came with sage does not "know" from the "normal" python installation on my PC. Is there any way to get pandas working with the jupyter notebook from SageMath on Windows?

thanks a lot for every answer


回答1:


After installing on Windows you have three icons on the desktop: SageMath, SageMath Notebook, SageMath Shell.

Open the SageMath Shell and run this command:

pip install pandas

Then you can use Pandas in Sage's Python.



来源:https://stackoverflow.com/questions/61078461/python-pandas-in-sage-math-9-0-jupyter-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!