發表文章

目前顯示的是 11月 14, 2018的文章

Benson & Hedges Cup

圖片
This article is about the defunct cricket tournament. For the defunct ice hockey tournament sponsored by Benson & Hedges, see Autumn Cup. Benson & Hedges Cup Countries   England Administrator England & Wales Cricket Board Format Limited overs cricket First Edition 1972 Latest Edition 2002 Most successful Lancashire (4 titles) The Benson & Hedges Cup was a one-day cricket competition for first-class counties in England and Wales that was held from 1972 to 2002, one of cricket's longest sponsorship deals. It was the third major one-day competition established in England and Wales after the Sunday League and the Gillette Cup. Traditionally a 'big day out' for the finalist's supporters, it was the less prestigious of the two cups. It began as a 55 over a side game, but was later reduced to 50. The winning team in the first cup final in 1972, Leicestershire won £2,500, the losing finalists Yorkshire £1,000 and Chri...

Pyspark converting dataframe to rdd and split

圖片
up vote 0 down vote favorite I have a dataframe and I did convert it to rdd but when I apply split function I got an error message Here is my dataframe df = spark.createDataFrame([(1, '2013-07-25 00:00:00.0',100,'CLOSED'), (2, '2013-07-25 12:23:00.0',200,'PENDING PAYMENT'), (3, '2013-07-25 03:30:00.0',400,'PENDING PAYMENT'), (4, '2013-07-25 12:23:00.0',50,'COMPLETE'), (5, '2013-07-25 12:23:00.0',50,'CLOSED'), (6, '2013-07-26 02:00:00.0',300,'CLOSED'), (7, '2013-07-26 6:23:00.0',10,'PENDING PAYMENT'), (8, '2013-07-26 03:30:00.0',5,'PEND...