Skip to content

.list.product #12862

@MarcoGorelli

Description

@MarcoGorelli

Description

If there's .list.sum, perhaps .list.product would also be in-scope?

Current workaround

In [30]: s
Out[30]:
shape: (2,)
Series: '' [list[i64]]
[
        [1, 2, 3]
        [4, 5, 6]
]

In [31]: s.list.eval(pl.element().product()).list.first()
Out[31]:
shape: (2,)
Series: '' [i64]
[
        6
        120
]

Metadata

Metadata

Assignees

Labels

acceptedReady for implementationenhancementNew feature or an improvement of an existing featuregood first issueGood for newcomers

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions