Skip to content

Bug: Arkouda-backed Series creates NumPy RangeIndex #5410

Closed

Description

@ajpotts

Bug: Arkouda-backed Series creates NumPy RangeIndex

Summary

When constructing a pandas Series backed by an Arkouda
ExtensionArray, pandas automatically creates a default RangeIndex
backed by NumPy.

This silently materializes the index on the client, breaking scalability
for very large arrays.

Problem

Calling:

pd.Series(arkouda_extension_array)

creates a NumPy-backed RangeIndex when index=None.

For large Arkouda arrays, creating a large NumPy index:

  • Uses client memory
  • Breaks distributed semantics
  • May be impossible for very large datasets

Expected Behavior

If no index is provided, the default index should be constructed on the
Arkouda server (e.g., using ak.arange(n)), ensuring the entire Series
remains Arkouda-backed.

Fix

Construct the default index using Arkouda and wrap it in an
ArkoudaExtensionArray instead of relying on pandas' default
RangeIndex.

Activity

  1. added
    bug
    on Feb 12, 2026
  2. self-assigned this
    on Feb 12, 2026
  3. added 3 commits that reference this issue on Feb 12, 2026
    3a0f465
    b6c137f
    5260376
  4. added a commit that references this issue on Feb 13, 2026
    335481c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions