Skip to content

DataFrameInternal - Using OrderedCollection over Array2D #105

Open
@AtharvaKhare

Description

@AtharvaKhare

DataFrameInternal currently uses Array2D (Previously it used Matrix #44)

Is there any specific reason such as speed/functionality for choosing Array2D?

Currently, while adding/removing a row, entire dataframe gets re-created. This becomes problematic for large data - eg: reading a csv file with thousands of rows results in calling addRow for every row in csv. DataFrameInternal is recreated for every such call.

I think using OrderedCollection would be better, since we can add elements at arbitrary indices. Are there any negatives for using OrderedCollection?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions