Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write table on Juliabox?

Tags:

jupyter

julia

I define a DataFrame named data and want to write it into .csv file. I used writetable("result_data.csv", data) but it doesn't work. This is the dataframe

error details

like image 233
cyy DEXTER Avatar asked Dec 02 '25 23:12

cyy DEXTER


1 Answers

To write a data frame to a disk you should use the CSV.jl package like this (also make sure that you have write right to the directory you want to save the file on Juliabox):

using CSV
CSV.write("result_data.csv", data)

If this fails then please report back in the comment I will investigate it further.

like image 89
Bogumił Kamiński Avatar answered Dec 04 '25 20:12

Bogumił Kamiński