8000 Re-add data= in zarr.core.array.create_array · Issue #2707 · zarr-developers/zarr-python · GitHub
[go: up one dir, main page]

Skip to content
Re-add data= in zarr.core.array.create_array #2707
Closed
@martindurant

Description

@martindurant

In V2, create_array allowed for passing data=, which was convenient for determining the shape, dtype and initial data of the created data.

arr = create_array(name,  dtype=arr.dtype, shape=arr.dtype)
arr[:] = arr

would simplify to

create_array(name,  data=arr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssue could use help from someone with familiarity on the topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0