Skip to content

Add functionality to keep singleton dimensions for reduction #378

@ph-kev

Description

@ph-kev

In Julia, functions like mean keep the singleton dimension. In ClimaAnalysis, we don't follow this because it is ambiguous what the value should be. However, there should be an option to keep the singleton dimension. For example, the keyword keepdim can be added to the function. For the value of the dimension, it could default to the first value of the dimension.

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