Indexs in Arkouda¶
Like Pandas, Arkouda supports Indexes
. The purpose and intended functionality remains the same in Arkouda, but are configured to be based on arkouda.pdarrays
.
Additionally, Multi-Indexes
are supported for indexes with multiple keys.
..autoclass:: arkouda.MultiIndex
Features¶
Index
support the majority of functionality offered by pandas.Index
.
Change Dtype¶
- arkouda.Index.set_dtype(self, dtype)¶
Change the data type of the index
Currently only aku.ip_address and ak.array are supported.
- arkouda.MultiIndex.set_dtype(self, dtype)¶
Change the data type of the index
Currently only aku.ip_address and ak.array are supported.
ArgSort¶
- arkouda.Index.argsort(self, ascending=True)¶
- arkouda.MultiIndex.argsort(self, ascending=True)¶
Lookup¶
- arkouda.Index.lookup(self, key)¶
- arkouda.MultiIndex.lookup(self, key)¶
Concat¶
- arkouda.Index.concat(self, other)¶
- arkouda.MultiIndex.concat(self, other)¶