@@ -260,19 +260,16 @@ class Timestamp(_Timestamp):
260
260
The other two forms mimic the parameters from ``datetime.datetime``. They
261
261
can be passed by either position or keyword, but not both mixed together.
262
262
263
- :func:`datetime.datetime` Parameters
264
- ------------------------------------
263
+ Parameters
264
+ ----------
265
265
266
266
.. versionadded:: 0.19.0
267
267
268
268
year : int
269
269
month : int
270
270
day : int
271
- hour : int, optional, default is 0
272
- minute : int, optional, default is 0
273
- second : int, optional, default is 0
274
- microsecond : int, optional, default is 0
275
- tzinfo : datetime.tzinfo, optional, default is None
271
+ hour, minute, second, microsecond : int, optional, default 0
272
+ tzinfo : datetime.tzinfo, optional, default None
276
273
"""
277
274
278
275
@classmethod
@@ -590,11 +587,13 @@ class Timestamp(_Timestamp):
590
587
tz : string, pytz.timezone, dateutil.tz.tzfile or None
591
588
Time zone for time which Timestamp will be converted to.
592
589
None will remove timezone holding local time.
590
+
593
591
ambiguous : bool, 'NaT', default 'raise'
594
592
- bool contains flags to determine if time is dst or not (note
595
- that this flag is only applicable for ambiguous fall dst dates)
593
+ that this flag is only applicable for ambiguous fall dst dates)
596
594
- 'NaT' will return NaT for an ambiguous time
597
595
- 'raise' will raise an AmbiguousTimeError for an ambiguous time
596
+
598
597
errors : 'raise', 'coerce', default 'raise'
599
598
- 'raise' will raise a NonExistentTimeError if a timestamp is not
600
599
valid in the specified timezone (e.g. due to a transition from
@@ -2172,7 +2171,7 @@ class Timedelta(_Timedelta):
2172
2171
Parameters
2173
2172
----------
2174
2173
value : Timedelta, timedelta, np.timedelta64, string, or integer
2175
- unit : string, [D,h,m,s,ms,us,ns]
2174
+ unit : string, `` [D,h,m,s,ms,us,ns]``
2176
2175
Denote the unit of the input, if input is an integer. Default 'ns'.
2177
2176
days, seconds, microseconds,
2178
2177
milliseconds, minutes, hours, weeks : numeric, optional
@@ -2455,7 +2454,7 @@ class Timedelta(_Timedelta):
2455
2454
def isoformat (self ):
2456
2455
"""
2457
2456
Format Timedelta as ISO 8601 Duration like
2458
- `P[n]Y[n]M[n]DT[n]H[n]M[n]S`, where the `[n]`s are replaced by the
2457
+ `` P[n]Y[n]M[n]DT[n]H[n]M[n]S`` , where the `` [n]`` s are replaced by the
2459
2458
values. See https://en.wikipedia.org/wiki/ISO_8601#Durations
2460
2459
2461
2460
.. versionadded:: 0.20.0
0 commit comments