[问题] spyder没有out跑出来@@?

楼主: silverair (木栅福山雅治)   2018-08-07 02:28:25
抱歉问个新手问题,小弟最近在学习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
想请问这是什么问题@@
麻烦各位大大了
作者: gmccntzx1 (o.O)   2018-08-07 04:38:00
print(gapminder.head())建议你熟悉一下 Interactive shell 和 Run script这两种的差异

Links booklink

Contact Us: admin [ a t ] ucptt.com