Skip to content

How to type return value of Column reductions #158

@MarcoGorelli

Description

@MarcoGorelli

This is related to #155, but I'm opening a new issue to make sure it's not forgotten

Currently column reductions are typed to return type. But if we also use type to type arguments, such as Column.from_sequence, then they should probably be distinguished.

For example, I could pass 'float64' to Column.from_sequence, but the return value of column.mean() wouldn't be 'float64', it would probably just be a Python 'float'.

I don't really know yet what the solution here is, will think about it, but I think we can do better

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