Series.dtypes

Series.dtypes return the dtype object of the underlying data

Series.dtype

Series.dtype return the dtype object of the underlying data

Series.dt.year

Series.dt.year The year of the datetime

Series.dt.weekday_name

Series.dt.weekday_name The name of day in a week (ex: Friday) New in version 0.18.1.

Series.dt.weekofyear

Series.dt.weekofyear The week ordinal of the year

Series.dt.tz_localize()

Series.dt.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 hours

Series.dt.weekday

Series.dt.weekday The day of the week with Monday=0, Sunday=6

Series.dt.week

Series.dt.week The week ordinal of the year

Series.dt.tz_convert()

Series.dt.tz_convert(*args, **kwargs) [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.

Series.dt.to_pytimedelta()

Series.dt.to_pytimedelta() [source]