冒着被低估的风险,我必须寻求有关此错误的帮助。我在相当大的数据帧上运行了几个简单的联接和计算。一切正常,直到我决定写入数据并通过以下语句:
import tkinter as tk
root = tk.Tk()
text = tk.Text(root)
text.insert("end", "line one\nthis is line two\nand this is the third line")
index = "2.10"
new_index = text.index("{} + {} chars".format(index, 18))
assert(new_index=="3.11")
然后出现以下错误:
FinalTable.repartition(1).write.mode(SaveMode.Overwrite).parquet(OutputFilePath + "/day=" + Day)