Skip to content

Accept list in add column function of DataFrame #3

@joro-enbw

Description

@joro-enbw

getml.DataFrame.add should accept List for col argument.

Also type annotations should be added.

table.add(col=[ ele for ele in table.pet_names], name="test", role="unused_string")

leads to

TypeError: 'col' must be a getml.data.Column or a value!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions