Python互動視窗資料顯示不完整

在VS Code的互動視窗中,預設只會出現前五個與最後五個的結果,中間會用…表示,如圖: 解決方式:在程式碼中加入 import pandas as pd pd.set_option(“display.max_rows”, None) 再次執行即可看到完整的結果了!

Loading

VS Code 更新Python, Jupyter後無法使用

錯誤訊息:Jupyter command `jupyter-notebook` not found. 解決方式:重新安裝Jupyter 在終端機下: pip3 install –upgrade –force-reinstall –no-cache-dir jupyter 參考來源

Loading