Commit 68453774 authored by 张彦钊's avatar 张彦钊

add

parent d713ad07
...@@ -32,7 +32,7 @@ if __name__ == '__main__': ...@@ -32,7 +32,7 @@ if __name__ == '__main__':
df = spark.sql(sql) df = spark.sql(sql)
# # df.show(6) # # df.show(6)
# # params['exposure_cards'], # # params['exposure_cards'],
rdd = df.rdd.map(lambda x:(position(x[0],10),)) rdd = df.rdd.map(lambda x:(position(eval(x[0]),10),))
# #
# print(rdd.collect()) # print(rdd.collect())
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment