I use dataframe-js to create a dataframe
like this:
const df = new DataFrame({
column1: [3, 6, 8], // <------ A column
column2: [3, 4, 5, 6],
}, ['column1', 'column2']);
How can I access / print an array containing all column1
values (in this case: [3, 6, 8]
) ?
I just figured out that this should do the job:
And to calculate a sum of all column1 values: