社交网站的数据挖掘与分析(1)
“种一棵树最好的时间是十年前,其次是现在。”第1章绪论:Twitter数据的处理1.Windows安装环境:Python,2.安装相关库:C:\Users\admin>pip install numpy提示:Successfully installed numpy-1.16.4, 证明安装成功(后续将省略)C:\Users\ad...
·
“种一棵树最好的时间是十年前,其次是现在。”
第1章
绪论:Twitter数据的处理
1.Windows安装环境:Python,
2.安装相关库:
C:\Users\admin>pip install numpy
提示:Successfully installed numpy-1.16.4, 证明安装成功(后续将省略)
C:\Users\admin>pip install networkx
3.使用NetworkX创建一个由节点和边构成的图(使用pycharm工具进行操作,python命令行也可以)
运行结果:
4.安装库:C:\Users\admin>pip install twitter,可以使用C:\Users\admin>python -mpydoc twitter.Twitter来查看使用帮助文档
由于国内无法连接到twitter的网址,故无法继续学习下去了,我准备跳转到第6章LinkedIn去研习,学习一下了。
更多推荐
所有评论(0)