Skip to content

DataFrame addRow/addColumn doesnt work on empty frames #113

Open
@AtharvaKhare

Description

@AtharvaKhare

Code:

x := DataFrame new.
x addRow: #(1 2 3)

Current workaround is:

x := DataFrame withColumnNames: #(1 2 3).
x addRow: #(1 2 3)

This is due to

anArray size = rows
ifFalse: [ SizeMismatch signal ].

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions