Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我定义了一个名为 data 的 DataFrame 并希望将其写入 .csv 文件。我用过writetable("result_data.csv", data) ,但它不起作用。 这是数据框
writetable("result_data.csv", data)
错误详情
要将数据框写入磁盘,您应该像这样使用 CSV.jl 包(还要确保您对要在 Juliabox 上保存文件的目录具有写入权限):
using CSV CSV.write("result_data.csv", data)
如果失败,请在评论中报告,我将进一步调查。