Skip to content

Iterating over column raises IndexOutOfBoundsError #47

@lars-reimann

Description

@lars-reimann

Describe the bug

Running code like this

for value in column:
    print(value)

raises an IndexOutOfBoundsError because index >= self._data.size.

If one instead writes

for value in column._data:
    print(value)

everything works as expected. But we don't want users to access the internal _data, so this is not a feasible workaround.

Additional context (optional)

Rows are probably affected, too.

Metadata

Metadata

Assignees

Labels

releasedIncluded in a release

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions