Help on class Timestamp in module pandas.tslib:
class Timestamp(_Timestamp)
| TimeStamp is the pandas equivalent of python's Datetime
| and is interchangable with it in most cases. It's the type used
| for the entries that make up a DatetimeIndex, and other timeseries
| oriented data structures in pandas.
|
| Method resolution order:
| Timestamp
| _Timestamp
| datetime.datetime
| datetime.date
| __builtin__.object
|
| Methods defined here:
|
| __new__(...)
|
| __radd__(...)
|
| __reduce__(...)
|
| __repr__(...)
|
| __setstate__(...)
|
| astimezone = tz_convert(...)
|
| isoformat(...)
|
| normalize(...)
| Normalize Timestamp to midnight, preserving
| tz information.
|
| replace(...)
|
| to_julian_date(...)
| Convert TimeStamp to a Julian Date.
| 0 Julian date is noon January 1, 4713 BC.
|
| to_period(...)
| Return an period of which this timestamp is an observation.
|
| to_pydatetime(...)
| If warn=True, issue warning if nanoseconds is nonzero
|
| tz_convert(...)
| Convert Timestamp to another time zone or localize to requested time
| zone
|
| Parameters
| ----------
| tz : string, pytz.timezone, dateutil.tz.tzfile or None
| Time zone for time which Timestamp will be converted to.
| None will remove timezone holding UTC time.
|
| Returns
| -------
| converted : Timestamp
|
| tz_localize(...)
| Convert naive Timestamp to local time zone, or remove
| timezone from tz-aware Timestamp.
|
| Parameters
| ----------
| tz : string, pytz.timezone, dateutil.tz.tzfile or None
| Time zone for time which Timestamp will be converted to.
| None will remove timezone holding local time.
| ambiguous : bool, 'NaT', default 'raise'
| - bool contains flags to determine if time is dst or not (note
| that this flag is only applicable for ambiguous fall dst dates)
| - 'NaT' will return NaT for an ambiguous time
| - 'raise' will raise an AmbiguousTimeError for an ambiguous time
|
| Returns
| -------
| localized : Timestamp
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| combine(...) from __builtin__.type
|
| fromordinal(...) from __builtin__.type
| passed an ordinal, translate and convert to a ts
| note: by definition there cannot be any tz info on the ordinal itself
|
| fromtimestamp(...) from __builtin__.type
|
| now(...) from __builtin__.type
| Return the current time in the local timezone. Equivalent
| to datetime.now([tz])
|
| Parameters
| ----------
| tz : string / timezone object, default None
| Timezone to localize to
|
| today(...) from __builtin__.type
| Return the current time in the local timezone. This differs
| from datetime.today() in that it can be localized to a
| passed timezone.
|
| Parameters
| ----------
| tz : string / timezone object, default None
| Timezone to localize to
|
| utcfromtimestamp(...) from __builtin__.type
|
| utcnow(...) from __builtin__.type
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables (if defined)
|
| __weakref__
| list of weak references to the object (if defined)
|
| asm8
|
| dayofweek
|
| dayofyear
|
| days_in_month
|
| daysinmonth
|
| freq
|
| freqstr
|
| is_month_end
|
| is_month_start
|
| is_quarter_end
|
| is_quarter_start
|
| is_year_end
|
| is_year_start
|
| microsecond
|
| quarter
|
| tz
| Alias for tzinfo
|
| week
|
| weekofyear
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __qualname__ = 'Timestamp'
|
| max = Timestamp('2262-04-11 23:47:16.854775807')
|
| min = Timestamp('1677-09-22 00:12:43.145225')
|
| ----------------------------------------------------------------------
| Methods inherited from _Timestamp:
|
| __add__(...)
| x.__add__(y) <==> x+y
|
| __eq__(...)
| x.__eq__(y) <==> x==y
|
| __ge__(...)
| x.__ge__(y) <==> x>=y
|
| __gt__(...)
| x.__gt__(y) <==> x>y
|
| __hash__(...)
| x.__hash__() <==> hash(x)
|
| __le__(...)
| x.__le__(y) <==> x<=y
|
| __lt__(...)
| x.__lt__(y) <==> x<y
|
| __ne__(...)
| x.__ne__(y) <==> x!=y
|
| __rsub__(...)
| x.__rsub__(y) <==> y-x
|
| __sub__(...)
| x.__sub__(y) <==> x-y
|
| to_datetime(...)
|
| to_datetime64(...)
| Returns a numpy.datetime64 object with 'ns' precision
|
| ----------------------------------------------------------------------
| Data descriptors inherited from _Timestamp:
|
| nanosecond
|
| offset
|
| value
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from _Timestamp:
|
| __pyx_vtable__ = <capsule object NULL>
|
| ----------------------------------------------------------------------
| Methods inherited from datetime.datetime:
|
| __getattribute__(...)
| x.__getattribute__('name') <==> x.name
|
| __str__(...)
| x.__str__() <==> str(x)
|
| ctime(...)
| Return ctime() style string.
|
| date(...)
| Return date object with same year, month and day.
|
| dst(...)
| Return self.tzinfo.dst(self).
|
| strptime(...)
| string, format -> new datetime parsed from a string (like time.strptime()).
|
| time(...)
| Return time object with same time but with tzinfo=None.
|
| timetuple(...)
| Return time tuple, compatible with time.localtime().
|
| timetz(...)
| Return time object with same time and tzinfo.
|
| tzname(...)
| Return self.tzinfo.tzname(self).
|
| utcoffset(...)
| Return self.tzinfo.utcoffset(self).
|
| utctimetuple(...)
| Return UTC time tuple, compatible with time.localtime().
|
| ----------------------------------------------------------------------
| Data descriptors inherited from datetime.datetime:
|
| hour
|
| minute
|
| second
|
| tzinfo
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from datetime.datetime:
|
| resolution = datetime.timedelta(0, 0, 1)
|
| ----------------------------------------------------------------------
| Methods inherited from datetime.date:
|
| __format__(...)
| Formats self with strftime.
|
| isocalendar(...)
| Return a 3-tuple containing ISO year, week number, and weekday.
|
| isoweekday(...)
| Return the day of the week represented by the date.
| Monday == 1 ... Sunday == 7
|
| strftime(...)
| format -> strftime() style string.
|
| toordinal(...)
| Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.
|
| weekday(...)
| Return the day of the week represented by the date.
| Monday == 0 ... Sunday == 6
|
| ----------------------------------------------------------------------
| Data descriptors inherited from datetime.date:
|
| day
|
| month
|
| year