getml / getml-community

Fast, high-quality forecasts on relational and multivariate time-series data powered by new feature learning algorithms and automated ML.
https://getml.com
Other
86 stars 7 forks source link

Accept list in add column function of DataFrame #3

Open joro-enbw opened 7 months ago

joro-enbw commented 7 months ago

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!