Index objects¶
Index¶
Properties¶
pd.Index.name
pd.Index.names
pd.Index.shape
pd.Index.size
pd.Index.empty
pd.Index.is_monotonic_increasing
pd.Index.is_monotonic_decreasing
pd.Index.values
pd.Index.nbytes
pd.Index.ndim
pd.Index.nlevels
pd.Index.dtype
pd.Index.inferred_type
pd.Index.is_all_dates
pd.Index.T
Type information¶
pd.Index.is_numeric
pd.Index.is_integer
pd.Index.is_floating
pd.Index.is_boolean
pd.Index.is_categorical
pd.Index.is_interval
pd.Index.is_object
Modifications and computations¶
pd.Index.copy
pd.Index.get_loc
pd.Index.take
pd.Index.min
pd.Index.max
pd.Index.rename
pd.Index.duplicated
pd.Index.drop_duplicates
pd.Index.isin
pd.Index.unique
pd.Index.nunique
pd.Index.sort_values
pd.Index.argsort
pd.Index.all
pd.Index.any
pd.Index.argmax
pd.Index.argmin
pd.Index.where
pd.Index.putmask
pd.Index.union
pd.Index.intersection
pd.Index.difference
pd.Index.symmetric_difference
pd.Index.repeat
Missing values¶
Conversion¶
pd.Index.map
pd.Index.to_series
pd.Index.to_frame
pd.Index.to_numpy
pd.Index.to_list
pd.Index.tolist
Numeric Index¶
Numeric index objects RangeIndex
, Int64Index
, UInt64Index
and
Float64Index
are supported as index to dataframes and series.
Constructing them in Bodo functions, passing them to Bodo functions (unboxing),
and returning them from Bodo functions (boxing) are also supported.
DatetimeIndex¶
DatetimeIndex
objects are supported. They can be constructed,
boxed/unboxed, and set as index to dataframes and series.
pd.DateTimeIndex
pd.DateTimeIndex.year
pd.DateTimeIndex.month
pd.DateTimeIndex.day
pd.DateTimeIndex.hour
pd.DateTimeIndex.minute
pd.DateTimeIndex.second
pd.DateTimeIndex.microsecond
pd.DateTimeIndex.nanosecond
pd.DateTimeIndex.date
pd.DateTimeIndex.dayofyear
pd.DateTimeIndex.day_of_year
pd.DateTimeIndex.dayofweek
pd.DateTimeIndex.day_of_week
pd.DateTimeIndex.is_leap_year
pd.DateTimeIndex.is_month_start
pd.DateTimeIndex.is_month_end
pd.DateTimeIndex.is_quarter_start
pd.DateTimeIndex.is_quarter_end
pd.DateTimeIndex.is_year_start
pd.DateTimeIndex.is_year_end
pd.DateTimeIndex.week
pd.DateTimeIndex.weekday
pd.DateTimeIndex.weekofyear
pd.DateTimeIndex.quarter
Subtraction of Timestamp
from DatetimeIndex
and vice versa
is supported.
Comparison operators ==
, !=
, >=
, >
, <=
, <
between
DatetimeIndex
and a string of datetime
are supported.
TimedeltaIndex¶
TimedeltaIndex
objects are supported. They can be constructed,
boxed/unboxed, and set as index to dataframes and series.
pd.TimedeltaIndex
pd.TimedeltaIndex.days
pd.TimedeltaIndex.seconds
pd.TimedeltaIndex.microseconds
pd.TimedeltaIndex.nanoseconds
PeriodIndex¶
PeriodIndex
objects can be
boxed/unboxed and set as index to dataframes and series.
Operations on them will be supported in upcoming releases.
BinaryIndex¶
BinaryIndex
objects can be
boxed/unboxed and set as index to dataframes and series.
Operations on them will be supported in upcoming releases.