Skip to content

Accept list in add column function of DataFrame #3

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions