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

add

parent cd51688b
...@@ -42,7 +42,7 @@ if __name__ == '__main__': ...@@ -42,7 +42,7 @@ if __name__ == '__main__':
# #
# spark.createDataFrame(rdd).show(6) # spark.createDataFrame(rdd).show(6)
rdd = sc.parallelize(["b", "a", "c"]) rdd = spark.parallelize(["b", "a", "c"])
spark.createDataFrame(rdd).show(6) spark.createDataFrame(rdd).show(6)
......
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