Skip to content

Add unit tests for pandas-inherited pd.Index methods with ArkoudaExtensionArray #5191

@ajpotts

Description

@ajpotts

Write unit tests covering pd.Index methods that are inherited/available via pandas when the Index is backed by ArkoudaExtensionArray. The goal is to confirm expected pandas semantics (behavior, dtype/NA handling, edge cases) and catch regressions in inheritance/dispatch.

  • T
  • __abs__
  • __add__
  • __and__
  • __annotations__
  • __array__
  • __array_priority__
  • __array_ufunc__
  • __array_wrap__
  • __bool__
  • __class__
  • __contains__
  • __copy__
  • __deepcopy__
  • __delattr__
  • __dict__
  • __dir__
  • __divmod__
  • __doc__
  • __eq__
  • __firstlineno__
  • __floordiv__
  • __format__
  • __ge__
  • __getattribute__
  • __getitem__
  • __getstate__
  • __gt__
  • __hash__
  • __iadd__
  • __init__
  • __init_subclass__
  • __invert__
  • __iter__
  • __le__
  • __len__
  • __lt__
  • __mod__
  • __module__
  • __mul__
  • __ne__
  • __neg__
  • __new__
  • __nonzero__
  • __or__
  • __pandas_priority__
  • __pos__
  • __pow__
  • __radd__
  • __rand__
  • __rdivmod__
  • __reduce__
  • __reduce_ex__
  • __repr__
  • __rfloordiv__
  • __rmod__rmul`
  • __ror__
  • __rpow__
  • __rsub__
  • __rtruediv__
  • __rxor__
  • __setattr__
  • __setitem__
  • __sizeof__
  • __static_attributes__
  • __str__
  • __sub__
  • __subclasshook__
  • __truediv__
  • __weakref__
  • __xor__
  • _accessors
  • _arith_method
  • _assert_can_do_setop
  • _attributes
  • _cache
  • _can_hold_identifiers_and_holds_name
  • _can_hold_na
  • _can_hold_strings
  • _can_use_libjoin
  • _check_indexing_error
  • _check_indexing_method
  • _cleanup
  • _cmp_method
  • _comparables
  • _concat
  • _construct_result
  • _constructor
  • _convert_can_do_setop
  • _convert_slice_indexer
  • _convert_tolerance
  • _data
  • _data_cls
  • _default_na_rep
  • _difference
  • _difference_compat
  • _dir_additions
  • _dir_additions_for_owner
  • _dir_deletions
  • _drop_level_numbers
  • _dti_setop_align_tzs
  • _dtype_to_subclass
  • _duplicated
  • _engine
  • _engine_type
  • _engine_types
  • _ensure_array
  • _filter_indexer_tolerance
  • _find_common_type_compat
  • _format_attrs
  • _format_data
  • _format_duplicate_message
  • _format_flat
  • _format_with_header
  • _formatter_func
  • _from_join_target
  • _get_default_index_names
  • _get_engine_target
  • _get_fill_indexer
  • _get_fill_indexer_searchsorted
  • _get_indexer
  • _get_indexer_non_comparable
  • _get_indexer_strict
  • _get_join_target
  • _get_level_names
  • _get_level_number
  • _get_level_values
  • _get_names
  • _get_nearest_indexer
  • _get_reconciled_name_object
  • _get_string_slice
  • _get_values_for_csv
  • _getitem_slice
  • _hidden_attrs
  • _holds_integer
  • _id
  • _index_as_unique
  • _inner_indexer
  • _intersection
  • _intersection_via_get_indexer
  • _is_all_dates
  • _is_comparable_dtype
  • _is_memory_usage_qualified
  • _is_multi
  • _is_strictly_monotonic_decreasing
  • _is_strictly_monotonic_increasing
  • _isnan
  • _join_empty
  • _join_level
  • _join_monotonic
  • _join_multi
  • _join_non_unique
  • _join_via_get_indexer
  • _left_indexer
  • _left_indexer_unique
  • _logical_method
  • _map_values
  • _maybe_cast_indexer
  • _maybe_cast_listlike_indexer
  • _maybe_cast_slice_bound
  • _maybe_check_unique
  • _maybe_disable_logical_methods
  • _maybe_disallow_fill
  • _maybe_downcast_for_indexing
  • _maybe_preserve_names
  • _memory_usage
  • _mpl_repr
  • _na_value
  • _name
  • _no_setting_name
  • _outer_indexer
  • _raise_if_missing
  • _raise_invalid_indexer
  • _raise_scalar_data_error
  • _references
  • _reindex_non_unique
  • _rename
  • _requires_unique_msg
  • _reset_cache
  • _reset_identity
  • _searchsorted_monotonic
  • _set_names
  • _shallow_copy
  • _should_compare
  • _should_fallback_to_positional
  • _should_partial_index
  • _simple_new
  • _sort_levels_monotonic
  • _summary
  • _supports_partial_string_indexing
  • _transform_index
  • _typ
  • _unary_method
  • _union
  • _validate_can_reindex
  • _validate_fill_value
  • _validate_index_level
  • _validate_indexer
  • _validate_names
  • _validate_positional_slice
  • _validate_sort_keyword
  • _values
  • _view
  • _with_infer
  • _wrap_difference_result
  • _wrap_intersection_result
  • _wrap_joined_index
  • _wrap_reindex_result
  • _wrap_setop_result
  • ak
  • all
  • any
  • append
  • argmax
  • argmin
  • argsort
  • array
  • asof
  • asof_locs
  • astype
  • copy
  • delete
  • diff
  • difference
  • drop
  • drop_duplicates
  • droplevel
  • dropna
  • dtype
  • duplicated
  • empty
  • equals
  • factorize
  • fillna
  • format
  • get_indexer
  • get_indexer_for
  • get_indexer_non_unique
  • get_level_values
  • get_loc
  • get_slice_bound
  • groupby
  • has_duplicates
  • hasnans
  • holds_integer
  • identical
  • infer_objects
  • inferred_type
  • insert
  • intersection
  • is_
  • is_boolean
  • is_categorical
  • is_floating
  • is_integer
  • is_interval
  • is_monotonic_decreasing
  • is_monotonic_increasing
  • is_numeric
  • is_object
  • is_unique
  • isin
  • isna
  • isnull
  • item
  • join
  • map
  • max
  • memory_usage
  • min
  • name
  • names
  • nbytes
  • ndim
  • nlevels
  • notna
  • notnull
  • nunique
  • putmask
  • ravel
  • reindex
  • rename
  • repeat
  • round
  • searchsorted
  • set_names
  • shape
  • shift
  • size
  • slice_indexer
  • slice_locs
  • sort
  • sort_values
  • sortlevel
  • symmetric_difference
  • take
  • to_flat_index
  • to_frame
  • to_list
  • to_numpy
  • to_series
  • transpose
  • union
  • unique
  • value_counts
  • values
  • view
  • where

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