07 2016 档案

摘要:三个函数比较类似,都是应用于序列的内置函数。常见的序列包括list、tuple、str。 1.map函数 map函数会根据提供的函数对指定序列做映射。 map函数的定义: map(function, sequence[, sequence, ...]) -> list 通过定义可以看到,这个函数的第 阅读全文
posted @ 2016-07-28 14:33 小毛驴 阅读(175) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/hoyong/articles/4659990.html http://www.360doc.com/content/12/0625/14/10140585_220331596.shtml http://jingyan.baidu.com/article 阅读全文
posted @ 2016-07-25 11:20 小毛驴 阅读(204) 评论(0) 推荐(0)
摘要:Filtering multiple values in multiple columns: In the case where you're pulling data from a database (Hive or SQL type db for this example) and need t 阅读全文
posted @ 2016-07-18 17:08 小毛驴 阅读(129) 评论(0) 推荐(0)
摘要:## Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work 阅读全文
posted @ 2016-07-18 13:59 小毛驴 阅读(688) 评论(0) 推荐(0)
摘要:原作: http://www.jianshu.com/p/25a319aee33d 三种方法的选择 Runtime提供三种方式来将原来的方法实现代替掉,那该怎样选择它们呢? Method Resolution:由于Method Resolution不能像消息转发那样可以交给其他对象来处理,所以只适用 阅读全文
posted @ 2016-07-11 15:55 小毛驴 阅读(140) 评论(0) 推荐(0)