Skip to content

[v3] AttributeError: 'Array' object has no attribute 'append' #2404

Description

@jhamman

Zarr version

3.0.0.beta

Numcodecs version

0.13

Python Version

3.11

Operating System

Mac

Installation

pip

Description

We need to implement Array.append in 3.0

Steps to reproduce

In [11]: a=np.arange(10000000, dtype='i4').reshape(10000, 1000)
...: z=zarr.array(a, chunks=(1000, 100))
...: z.shape
...: z.append(a)
...: z.append(np.vstack([a, a]), axis=1)
...: z.shape--------------------------------------------------------------------------AttributeErrorTraceback (mostrecentcalllast)
CellIn[11], line42z=zarr.array(a, chunks=(1000, 100))
3z.shape---->4z.append(a)
5z.append(np.vstack([a, a]), axis=1)
6z.shapeAttributeError: 'Array'objecthasnoattribute'append'

Additional output

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugPotential issues with the zarr-python library

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions