Index objects#

The following table lists both implemented and not implemented methods. If you have need of an operation that is listed as not implemented, feel free to open an issue on the GitHub repository, or give a thumbs up to already created issues. Contributions are also welcome!

The following table is structured as follows: The first column contains the method name. The second column contains link to a description of corresponding pandas method. The third column is a flag for whether or not there is an implementation in Xorbits for the method in the left column. Y stands for yes, N stands for no, P standsfor partial (meaning some parameters may not be supported yet), and D stands for default to pandas.

Index#

Many of these methods or variants thereof are available on the objects that contain an index (Series/DataFrame) and those should most likely be used before calling these methods directly.

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index

Index

Y

Properties#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.values

Index.values

Y

Index.is_monotonic

Index.is_monotonic

Y

Index.is_monotonic_increasing

Index.is_monotonic_increasing

Y

Index.is_monotonic_decreasing

Index.is_monotonic_decreasing

Y

Index.is_unique

Index.is_unique

Y

Index.has_duplicates

Index.has_duplicates

Y

Index.hasnans

Index.hasnans

Y

Index.dtype

Index.dtype

Y

Index.inferred_type

Index.inferred_type

Y

Index.shape

Index.shape

Y

Index.name

Index.name

Y

Index.names

Index.names

Y

Index.nbytes

Index.nbytes

Y

Index.ndim

Index.ndim

Y

Index.size

Index.size

Y

Index.empty

Index.empty

Y

Index.T

Index.T

Y

Index.memory_usage

Index.memory_usage

Y

Modifying and computations#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.all

Index.all

Y

Index.any

Index.any

Y

Index.argmin

Index.argmin

Y

Index.argmax

Index.argmax

Y

Index.copy

Index.copy

Y

Index.delete

Index.delete

Y

Index.drop

Index.drop

Y

Index.drop_duplicates

Index.drop_duplicates

Y

Index.duplicated

Index.duplicated

Y

Index.equals

Index.equals

Y

Index.factorize

Index.factorize

Y

Index.identical

Index.identical

Y

Index.insert

Index.insert

Y

Index.is_

Index.is_

Y

Index.is_boolean

Index.is_boolean

Y

Index.is_categorical

Index.is_categorical

Y

Index.is_floating

Index.is_floating

Y

Index.is_integer

Index.is_integer

Y

Index.is_interval

Index.is_interval

Y

Index.is_mixed

Index.is_mixed

Y

Index.is_numeric

Index.is_numeric

Y

Index.is_object

Index.is_object

Y

Index.min

Index.min

Y

Index.max

Index.max

Y

Index.reindex

Index.reindex

Y

Index.rename

Index.rename

Y

Index.repeat

Index.repeat

Y

Index.where

Index.where

Y

Index.take

Index.take

Y

Index.putmask

Index.putmask

Y

Index.unique

Index.unique

Y

Index.nunique

Index.nunique

Y

Index.value_counts

Index.value_counts

Y

Compatibility with MultiIndex#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.set_names

Index.set_names

Y

Index.droplevel

Index.droplevel

Y

Missing values#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.fillna

Index.fillna

Y

Index.dropna

Index.dropna

Y

Index.isna

Index.isna

Y

Index.notna

Index.notna

Y

Conversion#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.astype

Index.astype

Y

Index.item

Index.item

Y

Index.map

Index.map

Y

Index.ravel

Index.ravel

Y

Index.to_list

Index.to_list

Y

Index.to_series

Index.to_series

Y

Index.to_frame

Index.to_frame

Y

Index.view

Index.view

Y

Sorting#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.argsort

Index.argsort

Y

Index.searchsorted

Index.searchsorted

Y

Index.sort_values

Index.sort_values

Y

Time-specific operations#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.shift

Index.shift

Y

Combining / joining / set operations#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.append

Index.append

Y

Index.join

Index.join

Y

Index.intersection

Index.intersection

Y

Index.union

Index.union

Y

Index.difference

Index.difference

Y

Index.symmetric_difference

Index.symmetric_difference

Y

Selecting#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Index.asof

Index.asof

Y

Index.asof_locs

Index.asof_locs

Y

Index.get_indexer

Index.get_indexer

Y

Index.get_indexer_for

Index.get_indexer_for

Y

Index.get_indexer_non_unique

Index.get_indexer_non_unique

Y

Index.get_level_values

Index.get_level_values

Y

Index.get_loc

Index.get_loc

Y

Index.get_slice_bound

Index.get_slice_bound

Y

Index.get_value

Index.get_value

Y

Index.isin

Index.isin

Y

Index.slice_indexer

Index.slice_indexer

Y

Index.slice_locs

Index.slice_locs

Y

Numeric Index#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

RangeIndex

RangeIndex

Y

RangeIndex.start

RangeIndex.start

Y

RangeIndex.stop

RangeIndex.stop

Y

RangeIndex.step

RangeIndex.step

Y

RangeIndex.from_range

RangeIndex.from_range

Y

CategoricalIndex#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

CategoricalIndex

CategoricalIndex

Y

Categorical components#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

CategoricalIndex.codes

CategoricalIndex.codes

Y

CategoricalIndex.categories

CategoricalIndex.categories

Y

CategoricalIndex.ordered

CategoricalIndex.ordered

Y

CategoricalIndex.rename_categories

CategoricalIndex.rename_categories

Y

CategoricalIndex.reorder_categories

CategoricalIndex.reorder_categories

Y

CategoricalIndex.add_categories

CategoricalIndex.add_categories

Y

CategoricalIndex.remove_categories

CategoricalIndex.remove_categories

Y

CategoricalIndex.remove_unused_categories

CategoricalIndex.remove_unused_categories

Y

CategoricalIndex.set_categories

CategoricalIndex.set_categories

Y

CategoricalIndex.as_ordered

CategoricalIndex.as_ordered

Y

CategoricalIndex.as_unordered

CategoricalIndex.as_unordered

Y

Modifying and computations#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

CategoricalIndex.map

CategoricalIndex.map

Y

CategoricalIndex.equals

CategoricalIndex.equals

Y

IntervalIndex#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

IntervalIndex

IntervalIndex

Y

IntervalIndex components#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

IntervalIndex.from_arrays

IntervalIndex.from_arrays

Y

IntervalIndex.from_tuples

IntervalIndex.from_tuples

Y

IntervalIndex.from_breaks

IntervalIndex.from_breaks

Y

IntervalIndex.left

IntervalIndex.left

Y

IntervalIndex.right

IntervalIndex.right

Y

IntervalIndex.mid

IntervalIndex.mid

Y

IntervalIndex.closed

IntervalIndex.closed

Y

IntervalIndex.length

IntervalIndex.length

Y

IntervalIndex.values

IntervalIndex.values

Y

IntervalIndex.is_empty

IntervalIndex.is_empty

Y

IntervalIndex.is_non_overlapping_monotonic

IntervalIndex.is_non_overlapping_monotonic

Y

IntervalIndex.is_overlapping

IntervalIndex.is_overlapping

Y

IntervalIndex.get_loc

IntervalIndex.get_loc

Y

IntervalIndex.get_indexer

IntervalIndex.get_indexer

Y

IntervalIndex.set_closed

IntervalIndex.set_closed

Y

IntervalIndex.contains

IntervalIndex.contains

Y

IntervalIndex.overlaps

IntervalIndex.overlaps

Y

IntervalIndex.to_tuples

IntervalIndex.to_tuples

Y

MultiIndex#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

MultiIndex

MultiIndex

Y

IndexSlice

IndexSlice

Y

MultiIndex constructors#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

MultiIndex.from_arrays

MultiIndex.from_arrays

Y

MultiIndex.from_tuples

MultiIndex.from_tuples

Y

MultiIndex.from_product

MultiIndex.from_product

Y

MultiIndex.from_frame

MultiIndex.from_frame

Y

MultiIndex properties#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

MultiIndex.names

MultiIndex.names

Y

MultiIndex.levels

MultiIndex.levels

Y

MultiIndex.codes

MultiIndex.codes

Y

MultiIndex.nlevels

MultiIndex.nlevels

Y

MultiIndex.levshape

MultiIndex.levshape

Y

MultiIndex.dtypes

MultiIndex.dtypes

Y

MultiIndex components#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

MultiIndex.set_levels

MultiIndex.set_levels

Y

MultiIndex.set_codes

MultiIndex.set_codes

Y

MultiIndex.to_flat_index

MultiIndex.to_flat_index

Y

MultiIndex.to_frame

MultiIndex.to_frame

Y

MultiIndex.sortlevel

MultiIndex.sortlevel

Y

MultiIndex.droplevel

MultiIndex.droplevel

Y

MultiIndex.swaplevel

MultiIndex.swaplevel

Y

MultiIndex.reorder_levels

MultiIndex.reorder_levels

Y

MultiIndex.remove_unused_levels

MultiIndex.remove_unused_levels

Y

MultiIndex selecting#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

MultiIndex.get_loc

MultiIndex.get_loc

Y

MultiIndex.get_locs

MultiIndex.get_locs

Y

MultiIndex.get_loc_level

MultiIndex.get_loc_level

Y

MultiIndex.get_indexer

MultiIndex.get_indexer

Y

MultiIndex.get_level_values

MultiIndex.get_level_values

Y

DatetimeIndex#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DatetimeIndex

DatetimeIndex

Y

Time/date components#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DatetimeIndex.year

DatetimeIndex.year

Y

DatetimeIndex.month

DatetimeIndex.month

Y

DatetimeIndex.day

DatetimeIndex.day

Y

DatetimeIndex.hour

DatetimeIndex.hour

Y

DatetimeIndex.minute

DatetimeIndex.minute

Y

DatetimeIndex.second

DatetimeIndex.second

Y

DatetimeIndex.microsecond

DatetimeIndex.microsecond

Y

DatetimeIndex.nanosecond

DatetimeIndex.nanosecond

Y

DatetimeIndex.date

DatetimeIndex.date

Y

DatetimeIndex.time

DatetimeIndex.time

Y

DatetimeIndex.timetz

DatetimeIndex.timetz

Y

DatetimeIndex.dayofyear

DatetimeIndex.dayofyear

Y

DatetimeIndex.day_of_year

DatetimeIndex.day_of_year

Y

DatetimeIndex.weekofyear

DatetimeIndex.weekofyear

Y

DatetimeIndex.week

DatetimeIndex.week

Y

DatetimeIndex.dayofweek

DatetimeIndex.dayofweek

Y

DatetimeIndex.day_of_week

DatetimeIndex.day_of_week

Y

DatetimeIndex.weekday

DatetimeIndex.weekday

Y

DatetimeIndex.quarter

DatetimeIndex.quarter

Y

DatetimeIndex.tz

DatetimeIndex.tz

Y

DatetimeIndex.freq

DatetimeIndex.freq

Y

DatetimeIndex.freqstr

DatetimeIndex.freqstr

Y

DatetimeIndex.is_month_start

DatetimeIndex.is_month_start

Y

DatetimeIndex.is_month_end

DatetimeIndex.is_month_end

Y

DatetimeIndex.is_quarter_start

DatetimeIndex.is_quarter_start

Y

DatetimeIndex.is_quarter_end

DatetimeIndex.is_quarter_end

Y

DatetimeIndex.is_year_start

DatetimeIndex.is_year_start

Y

DatetimeIndex.is_year_end

DatetimeIndex.is_year_end

Y

DatetimeIndex.is_leap_year

DatetimeIndex.is_leap_year

Y

DatetimeIndex.inferred_freq

DatetimeIndex.inferred_freq

Y

Selecting#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DatetimeIndex.indexer_at_time

DatetimeIndex.indexer_at_time

Y

DatetimeIndex.indexer_between_time

DatetimeIndex.indexer_between_time

Y

Time-specific operations#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DatetimeIndex.normalize

DatetimeIndex.normalize

Y

DatetimeIndex.strftime

DatetimeIndex.strftime

Y

DatetimeIndex.snap

DatetimeIndex.snap

Y

DatetimeIndex.tz_convert

DatetimeIndex.tz_convert

Y

DatetimeIndex.tz_localize

DatetimeIndex.tz_localize

Y

DatetimeIndex.round

DatetimeIndex.round

Y

DatetimeIndex.floor

DatetimeIndex.floor

Y

DatetimeIndex.ceil

DatetimeIndex.ceil

Y

DatetimeIndex.month_name

DatetimeIndex.month_name

Y

DatetimeIndex.day_name

DatetimeIndex.day_name

Y

Conversion#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DatetimeIndex.to_period

DatetimeIndex.to_period

Y

DatetimeIndex.to_perioddelta

DatetimeIndex.to_perioddelta

Y

DatetimeIndex.to_pydatetime

DatetimeIndex.to_pydatetime

Y

DatetimeIndex.to_series

DatetimeIndex.to_series

Y

DatetimeIndex.to_frame

DatetimeIndex.to_frame

Y

Methods#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DatetimeIndex.mean

DatetimeIndex.mean

Y

DatetimeIndex.std

DatetimeIndex.std

Y

TimedeltaIndex#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

TimedeltaIndex

TimedeltaIndex

Y

Components#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

TimedeltaIndex.days

TimedeltaIndex.days

Y

TimedeltaIndex.seconds

TimedeltaIndex.seconds

Y

TimedeltaIndex.microseconds

TimedeltaIndex.microseconds

Y

TimedeltaIndex.nanoseconds

TimedeltaIndex.nanoseconds

Y

TimedeltaIndex.components

TimedeltaIndex.components

Y

TimedeltaIndex.inferred_freq

TimedeltaIndex.inferred_freq

Y

Conversion#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

TimedeltaIndex.to_pytimedelta

TimedeltaIndex.to_pytimedelta

Y

TimedeltaIndex.to_series

TimedeltaIndex.to_series

Y

TimedeltaIndex.round

TimedeltaIndex.round

Y

TimedeltaIndex.floor

TimedeltaIndex.floor

Y

TimedeltaIndex.ceil

TimedeltaIndex.ceil

Y

TimedeltaIndex.to_frame

TimedeltaIndex.to_frame

Y

Methods#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

TimedeltaIndex.mean

TimedeltaIndex.mean

Y

PeriodIndex#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

PeriodIndex

PeriodIndex

Y

Properties#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

PeriodIndex.day

PeriodIndex.day

Y

PeriodIndex.dayofweek

PeriodIndex.dayofweek

Y

PeriodIndex.day_of_week

PeriodIndex.day_of_week

Y

PeriodIndex.dayofyear

PeriodIndex.dayofyear

Y

PeriodIndex.day_of_year

PeriodIndex.day_of_year

Y

PeriodIndex.days_in_month

PeriodIndex.days_in_month

Y

PeriodIndex.daysinmonth

PeriodIndex.daysinmonth

Y

PeriodIndex.end_time

PeriodIndex.end_time

Y

PeriodIndex.freq

PeriodIndex.freq

Y

PeriodIndex.freqstr

PeriodIndex.freqstr

Y

PeriodIndex.hour

PeriodIndex.hour

Y

PeriodIndex.is_leap_year

PeriodIndex.is_leap_year

Y

PeriodIndex.minute

PeriodIndex.minute

Y

PeriodIndex.month

PeriodIndex.month

Y

PeriodIndex.quarter

PeriodIndex.quarter

Y

PeriodIndex.qyear

PeriodIndex.qyear

Y

PeriodIndex.second

PeriodIndex.second

Y

PeriodIndex.start_time

PeriodIndex.start_time

Y

PeriodIndex.week

PeriodIndex.week

Y

PeriodIndex.weekday

PeriodIndex.weekday

Y

PeriodIndex.weekofyear

PeriodIndex.weekofyear

Y

PeriodIndex.year

PeriodIndex.year

Y

Methods#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

PeriodIndex.asfreq

PeriodIndex.asfreq

Y

PeriodIndex.strftime

PeriodIndex.strftime

Y

PeriodIndex.to_timestamp

PeriodIndex.to_timestamp

Y