spark资料

http://spark.apache.org/docs/latest/programming-guide.html#rdd-operations

http://m.blog.csdn.net/article/details?id=51176969

http://www.cnblogs.com/yrqiang/p/5321368.html

http://www.youmeek.com/category/software-system/my-intellij-idea/

http://www.cnblogs.com/eczhou/p/5216918.html

 

http://blog.csdn.net/qf0129/article/details/48265987

There is an easier way to do this. If like you said you already have pip installed, then install scipy and you'll have numpy installed. #On unix like environments sudo pip install scipy #on windows like environments pip install scipy

 

from sys import path

path.append("d:\pythonfiles")

import XXX

path  append 的路径参数表示要引入的.py文件的路径(绝对),这样可以保证要引入的module在搜索的范围内。

http://www.infoq.com/cn/articles/spark-core-rdd/

 

cursor.execute(query)
columns = cursor.description
result = []
for value in cursor.fetchall():
    tmp = {}
    for (index,column) in enumerate(value):
        tmp[columns[index][0]] = column
    result.append(tmp)
pprint.pprint(result)

 

转载于:https://www.cnblogs.com/wcLT/p/5520879.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值