IndexedTable to DataFrame

bernhard
Fri, 19 Jul 2019 04:06:50 +0000
General Usage

I am wondering how to convert an IndexedTable to a DataFrame. There are two posts that offer (partial) solutions to this, but I am not sure if that is (still) the best way.

stackoverflow.com

How to convert an IndexedTable to a DataFrame in Julia?

dataframe, type-conversion, julia

asked by Antonello on 07:46AM - 20 Oct 17 UTC

Pulling array data from IndexedTables or JuliaDB Data

Typically, to do anything useful with tabular data it has to be converted to a plain-old array, often of floats. And, far worse, usually you have to take the output from doing something to said array back into the data in the form of an additional column. Indeed, I never cease to be amazed at how many obstacles there are to this in sources as diverse as csv’s, SQL and parquet. One thing I really love about DataTables and DataFrames, is that, since they are simple containers of named vectors, …

For now, it is not clear to me when it is preferable to work with JuliaDB/IndexedTable and when it is preferable to work with a DataFrame. I am not sure if there is any guidance on this. As long as it fits in memory I can/should stay with a DataFrame? In my case, I certainly have more options/tools/experience with DataFrames.

4 posts - 3 participants