DatetimeIndex.dayofweek

DatetimeIndex.dayofweek The day of the week with Monday=0, Sunday=6

DatetimeIndex.date

DatetimeIndex.date Returns numpy array of python datetime.date objects (namely, the date part of Timestamps without timezone information).

DatetimeIndex.data

DatetimeIndex.data return the data pointer of the underlying data

DatetimeIndex.copy()

DatetimeIndex.copy(name=None, deep=False, dtype=None, **kwargs) [source] Make a copy of this object. Name and dtype sets those attributes on the new object. Parameters: name : string, optional deep : boolean, default False dtype : numpy dtype or pandas type Returns: copy : Index Notes In most cases, there should be no functional difference from using deep, but if deep is passed it will attempt to deepcopy.

DatetimeIndex.astype()

DatetimeIndex.astype(dtype, copy=True) [source] Create an Index with values cast to dtypes. The class of a new Index is determined by dtype. When conversion is impossible, a ValueError exception is raised. Parameters: dtype : numpy dtype or pandas type copy : bool, default True By default, astype always returns a newly allocated object. If copy is set to False and internal requirements on dtype are satisfied, the original data is used to create a new Index or the original Index is returne

DatetimeIndex.ceil()

DatetimeIndex.ceil(freq) [source] ceil the index to the specified freq Parameters: freq : freq string/object Returns: index of same type Raises: ValueError if the freq cannot be converted

DatetimeIndex.base

DatetimeIndex.base return the base object if the memory of the underlying data is shared

DatetimeIndex.asof_locs()

DatetimeIndex.asof_locs(where, mask) [source] where : array of timestamps mask : array of booleans where data is not NA

DatetimeIndex.asobject

DatetimeIndex.asobject return object Index which contains boxed values this is an internal non-public method

DatetimeIndex.asof()

DatetimeIndex.asof(label) [source] For a sorted index, return the most recent label up to and including the passed label. Return NaN if not found. See also get_loc asof is a thin wrapper around get_loc with method=?pad?