parrallel python study notes
2017-02-22 22:34
183 查看
工作中需要用到python 数据预处理,然后 跑spark hadoop 太过繁琐,为提高计算速度,再加所用服务器核比较多,然后考虑用parrelell python.
1、pp用的包 :包名叫pp, pip install pp
2、主要函数
1、pp用的包 :包名叫pp, pip install pp
import math,sys,time import pp
2、主要函数
job_server = pp.Server(cpu_number,ppservers = ppserver) job1 = job_server.submit(***) job2 = job_server.submit(***) jobn = job_server.submit(***)
相关文章推荐
- study notes for python
- python study notes
- 《Dive into Python》Study_Notes
- Legacy Study notes(Servlet)
- MySql study notes [1]
- Study Notes of Linux queuing discipline manual - user guide
- Legacy Study notes(ClassLoader File URL URI)
- jQuery study Notes (三):Ajax
- Notes for python (1)
- Reading Notes on "Dive Into Python"
- Python notes
- Legacy Study notes(Jface、SWT-TableViewer)
- Struts selfstudy notes
- study notes for EJB 3 in action (III)
- System Architect Study notes
- Portlet Study Notes (1)
- english joke,and some notes for english study
- study notes for EJB 3 in action (II)
- Java API Study Notes
- jQuery Study Notes (二)