Skip to content

Latest commit

 

History

History
224 lines (170 loc) · 4.03 KB

File metadata and controls

224 lines (170 loc) · 4.03 KB

Index objects

Index

.. currentmodule:: modin.pandas

:doc:`All supported Index APIs <supported/index_supported>`

Constructor

.. autosummary::
    :toctree: pandas_api/

    Index

Properties

.. autosummary::
    :toctree: pandas_api/

    Index.values
    Index.is_monotonic_increasing
    Index.is_monotonic_decreasing
    Index.is_unique
    Index.has_duplicates
    Index.dtype
    Index.shape
    Index.name
    Index.names
    Index.ndim
    Index.size
    Index.empty
    Index.T
    Index.nlevels
    Index.array
    Index.str

Snowflake Specific

.. autosummary::
    :toctree: pandas_api/

    Index.to_pandas

Modifying and computations

.. autosummary::
    :toctree: pandas_api/

    Index.all
    Index.any
    Index.argmin
    Index.argmax
    Index.copy
    Index.drop_duplicates
    Index.equals
    Index.identical
    Index.is_boolean
    Index.is_floating
    Index.is_integer
    Index.is_numeric
    Index.is_object
    Index.item
    Index.min
    Index.max
    Index.reindex
    Index.rename
    Index.unique
    Index.nunique
    Index.value_counts

Compatibility with MultiIndex

.. autosummary::
    :toctree: pandas_api/

    Index.set_names

Conversion

.. autosummary::
    :toctree: pandas_api/

    Index.astype
    Index.item
    Index.to_list
    Index.tolist
    Index.to_series
    Index.to_frame

Sorting

.. autosummary::
    :toctree: pandas_api/

    Index.sort_values

DatetimeIndex

.. autosummary::
   :toctree: pandas_api/

   DatetimeIndex

DatetimeIndex Time/date components

.. autosummary::
    :toctree: pandas_api/

    DatetimeIndex.year
    DatetimeIndex.month
    DatetimeIndex.day
    DatetimeIndex.hour
    DatetimeIndex.minute
    DatetimeIndex.second
    DatetimeIndex.microsecond
    DatetimeIndex.nanosecond
    DatetimeIndex.date
    DatetimeIndex.time
    DatetimeIndex.timetz
    DatetimeIndex.dayofyear
    DatetimeIndex.day_of_year
    DatetimeIndex.dayofweek
    DatetimeIndex.day_of_week
    DatetimeIndex.weekday
    DatetimeIndex.quarter
    DatetimeIndex.tz
    DatetimeIndex.freq
    DatetimeIndex.freqstr
    DatetimeIndex.is_month_start
    DatetimeIndex.is_month_end
    DatetimeIndex.is_quarter_start
    DatetimeIndex.is_quarter_end
    DatetimeIndex.is_year_start
    DatetimeIndex.is_year_end
    DatetimeIndex.is_leap_year
    DatetimeIndex.inferred_freq

DatetimeIndex Selecting

.. autosummary::
    :toctree: pandas_api/

    DatetimeIndex.indexer_at_time
    DatetimeIndex.indexer_between_time

DatetimeIndex Time-specific operations

.. autosummary::
    :toctree: pandas_api/

    DatetimeIndex.normalize
    DatetimeIndex.strftime
    DatetimeIndex.snap
    DatetimeIndex.tz_convert
    DatetimeIndex.tz_localize
    DatetimeIndex.round
    DatetimeIndex.floor
    DatetimeIndex.ceil
    DatetimeIndex.month_name
    DatetimeIndex.day_name

DatetimeIndex Conversion

.. autosummary::
    :toctree: pandas_api/

    DatetimeIndex.as_unit
    DatetimeIndex.to_period
    DatetimeIndex.to_pydatetime
    DatetimeIndex.to_series
    DatetimeIndex.to_frame

DatetimeIndex Methods

.. autosummary::
    :toctree: pandas_api/

    DatetimeIndex.mean
    DatetimeIndex.std

TimedeltaIndex

.. autosummary::
   :toctree: pandas_api/

   TimedeltaIndex

TimedeltaIndex Components

.. autosummary::
    :toctree: pandas_api/

    TimedeltaIndex.days
    TimedeltaIndex.seconds
    TimedeltaIndex.microseconds
    TimedeltaIndex.nanoseconds
    TimedeltaIndex.components
    TimedeltaIndex.inferred_freq

TimedeltaIndex Conversion

.. autosummary::
    :toctree: pandas_api/

    TimedeltaIndex.as_unit
    TimedeltaIndex.to_pytimedelta
    TimedeltaIndex.round
    TimedeltaIndex.floor
    TimedeltaIndex.ceil

TimedeltaIndex Methods

.. autosummary::
    :toctree: pandas_api/

    TimedeltaIndex.mean