Skip to content

Array.reindex shouldn't convert int arrays to float when all labels are present #697

Open
@gdementen

Description

@gdementen

If possible, we should introduce code similar to what is done in Array.split_axes

if all_combinations_present:
    res = empty(new_axes, dtype=array.dtype)
else:
    res = full(new_axes, fill_value=fill_value, dtype=common_type((array, fill_value)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions