看板 Python 關於我們 聯絡資訊
抱歉問個新手問題,小弟最近在學習python import pandas as pd # 讀入 csv 文字檔 csv_file = "https://storage.googleapis.com/learn_pd_like_tidyverse/gapminder.csv" gapminder = pd.read_csv(csv_file) print(type(gapminder)) gapminder.head() 以上的程式碼在spyder裡面一直跑不出東西 可是我用jupyter就可以 https://i.imgur.com/QwRiU0j.png 想請問這是什麼問題@@ 麻煩各位大大了 -- 我的意中人是個蓋世英雄,有一天他會踩著七色的雲彩來娶我 我猜中了前頭,可是我猜不著這結局。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.231.19.120 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1533580109.A.BF0.html
gmccntzx1: print(gapminder.head()) 08/07 04:38
gmccntzx1: 建議你熟悉一下 Interactive shell 和 Run script 08/07 04:40
gmccntzx1: 這兩種的差異 08/07 04:41