DatetimeIndex.tz_localize()

DatetimeIndex.tz_localize(*args, **kwargs) [source] Localize tz-naive DatetimeIndex to given time zone (using pytz/dateutil), or remove timezone from tz-aware DatetimeIndex Parameters: tz : string, pytz.timezone, dateutil.tz.tzfile or None Time zone for time. Corresponding timestamps would be converted to time zone of the TimeSeries. None will remove timezone holding local time. ambiguous : ?infer?, bool-ndarray, ?NaT?, default ?raise? ?infer? will attempt to infer fall dst-transition h

DatetimeIndex.tzinfo

DatetimeIndex.tzinfo Alias for tz attribute

DatetimeIndex.tz_convert()

DatetimeIndex.tz_convert(tz) [source] Convert tz-aware DatetimeIndex from one time zone to another (using pytz/dateutil) Parameters: tz : string, pytz.timezone, dateutil.tz.tzfile or None Time zone for time. Corresponding timestamps would be converted to time zone of the TimeSeries. None will remove timezone holding UTC time. Returns: normalized : DatetimeIndex Raises: TypeError If DatetimeIndex is tz-naive.

DatetimeIndex.tz

DatetimeIndex.tz = None

DatetimeIndex.to_series()

DatetimeIndex.to_series(keep_tz=False) [source] Create a Series with both index and values equal to the index keys useful with map for returning an indexer based on an index Parameters: keep_tz : optional, defaults False. return the data keeping the timezone. If keep_tz is True: If the timezone is not set, the resulting Series will have a datetime64[ns] dtype. Otherwise the Series will have an datetime64[ns, tz] dtype; the tz will be preserved. If keep_tz is False: Series will have a d

DatetimeIndex.transpose()

DatetimeIndex.transpose(*args, **kwargs) [source] return the transpose, which is by definition self

DatetimeIndex.to_period()

DatetimeIndex.to_period(freq=None) [source] Cast to PeriodIndex at a particular frequency

DatetimeIndex.to_pydatetime()

DatetimeIndex.to_pydatetime() [source] Return DatetimeIndex as object ndarray of datetime.datetime objects Returns: datetimes : ndarray

DatetimeIndex.to_perioddelta()

DatetimeIndex.to_perioddelta(freq) [source] Calcuates TimedeltaIndex of difference between index values and index converted to PeriodIndex at specified freq. Used for vectorized offsets New in version 0.17.0. Parameters: freq : Period frequency Returns: y : TimedeltaIndex

DatetimeIndex.to_julian_date()

DatetimeIndex.to_julian_date() [source] Convert DatetimeIndex to Float64Index of Julian Dates. 0 Julian date is noon January 1, 4713 BC. http://en.wikipedia.org/wiki/Julian_day