Skip to content

Evaluate adding non-inherited ak.Index methods to the pandas Index accessor #5193

@ajpotts

Description

@ajpotts

Some functionality available on ak.Index is not inherited by pd.Index when using ArkoudaExtensionArray. An Index accessor already exists and could be used to expose this additional functionality.

This ticket is to evaluate whether selected ak.Index methods should be implemented or surfaced via the accessor, based on:

Usefulness to pandas-style workflows

API clarity and discoverability

Performance or Arkouda-native advantages

The goal is to identify which non-inherited ak.Index methods, if any, belong in the accessor and which should remain legacy-only.

  • _check_aligned
  • _check_types
  • _dtype_of_list_values
  • _get_arrays_for_comparison
  • _merge
  • _merge_all
  • _reindex
  • _set_dtype
  • concat
  • factory
  • from_return_msg
  • index
  • is_registered
  • lookup
  • max_list_size
  • objType
  • register
  • registered_name
  • set_dtype
  • to_csv
  • to_dict
  • to_hdf
  • to_ndarray
  • to_pandas
  • to_parquet
  • tolist
  • unregister
  • update_hdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions