Commit 4d6d5313 authored by Your Name's avatar Your Name

add dist sort

parent 5856d3b0
......@@ -113,7 +113,7 @@ if __name__ == "__main__":
# df = spark.read.format("tfrecords").load(path+"nearby/part-r-00000")
# df.show()
uid1 = spark.read.format("csv").options(sep="\t",header=True).load(path+"nearby/nearby.csv")
uid1 = spark.read.format("csv").options(sep=",",header=True).load(path+"nearby/nearby.csv")
uid1.show()
pred1 = spark.read.format("csv").options(sep="\t").load(path+"nearby/pred.txt")
pred1.show()
......
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