Skip to content

Evaluate re-implementing inherited Series methods in the Arkouda accessor #5202

@ajpotts

Description

@ajpotts

Some pd.Series functionality is inherited automatically through pandas when the Series values are backed by ArkoudaExtensionArray. In some cases, equivalent or related functionality exists in legacy ak.Series, and a Series accessor is available.

This ticket is to evaluate whether selectively re-implementing certain pandas-inherited pd.Series methods in the accessor would be worthwhile, for example to:

improve performance,

avoid unnecessary conversions or round-trips, and

better leverage Arkouda-native operations.

The goal is to identify cases where overriding pandas-inherited behavior provides a clear benefit, and leave the rest as-is.

  • __add__
  • __and__
  • __class__
  • __delattr__
  • __dict__
  • __dir__
  • __doc__
  • __eq__
  • __firstlineno__
  • __floordiv__
  • __format__
  • __ge__
  • __getattribute__
  • __getitem__
  • __getstate__
  • __gt__
  • __hash__
  • __init__
  • __init_subclass__
  • __invert__
  • __le__
  • __len__
  • __lt__
  • __mod__
  • __module__
  • __mul__
  • __ne__
  • __neg__
  • __new__
  • __or__
  • __pow__
  • __reduce__
  • __reduce_ex__
  • __repr__
  • __setattr__
  • __setitem__
  • __sizeof__
  • __static_attributes__
  • __str__
  • __sub__
  • __subclasshook__
  • __truediv__
  • __weakref__
  • __xor__
  • add
  • argmax
  • argmin
  • at
  • diff
  • dtype
  • fillna
  • hasnans
  • head
  • iat
  • iloc
  • index
  • isin
  • isna
  • isnull
  • loc
  • map
  • max
  • mean
  • memory_usage
  • min
  • name
  • ndim
  • notna
  • notnull
  • prod
  • shape
  • size
  • sort_index
  • sort_values
  • std
  • sum
  • tail
  • to_markdown
  • value_counts
  • values
  • var

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