I need to write and then read a DataFrame which consists of other
DataFrames to a file.
df=DataFrame(d=DataFrame(x=[1:5]))
gives the desired DataFrame, but
writetable("df.csv",df)
readtable("df.csv")
returns:
1x1 DataFrames.DataFrame
| Row | d
|
|-----|---------------------------------------------------------------------------------------------------------|
| 1 | "5x1 DataFrames.DataFrame\n| Row | x |\n|-----|---|\n| 1 | 1 |\n|
2 | 2 |\n| 3 | 3 |\n| 4 | 4 |\n| 5 | 5 |" |
Thus the interiour DataFrame gets stored as string in the file.
Is there anyway to properly read the inner DataFrame?