学以致用——初次使用GraphLab Create分析数据

如果没用过Spotfire这种专业的数据可视化工具,肯定会觉得GraphLab Create很酷。

实际上,目前我看到的是,GraphLab Create自动生成的图表是很有限的(但是自动生成的,超级省事)。

数据集依然是本人的iKB系统日报。


步骤:

1. 导入数据:sf=graphlab.SFrame('C:\Users\pande\ds\ikb_summary.csv')

导入成功:

Finished parsing file C:\Users\pande\ds\ikb_summary.csv
Parsing completed. Parsed 9 lines in 0.025064 secs.
------------------------------------------------------
Inferred types from first 100 line(s) of file as 
column_type_hints=[long,str,long,long,long,long,long,long,long,long,long,long,long,long,long,long]
If parsing fails due to incorrect types, you can correct
the inferred type list above and pass it to read_csv in
the column_type_hints argument
------------------------------------------------------
Finished parsing file C:\Users\pande\ds\ikb_summary.csv
Parsing completed. Parsed 9 lines in 0.024068 secs.

2. Show出你的数据:sf.show()

截图:

学以致用——初次使用GraphLab Create分析数据

学以致用——初次使用GraphLab Create分析数据


学以致用——初次使用GraphLab Create分析数据


学以致用——初次使用GraphLab Create分析数据