You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Arkouda-backed Series creates NumPy RangeIndex #5410
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
Closes Bears-R-Us#5410: Bug: Arkouda-backed Series creates NumPy Rang…
Closes Bears-R-Us#5410: Bug: Arkouda-backed Series creates NumPy Rang…
Closes Bears-R-Us#5410: Bug: Arkouda-backed Series creates NumPy Rang…
Closes #5410: Bug: Arkouda-backed Series creates NumPy RangeIndex (#5411