pandas.Timestamp.replace¶
-
Timestamp.
replace
(self, year=None, month=None, day=None, hour=None, minute=None, second=None, microsecond=None, nanosecond=None, tzinfo=<class 'object'>, fold=0)¶ implements datetime.replace, handles nanoseconds
Parameters: - year : int, optional
- month : int, optional
- day : int, optional
- hour : int, optional
- minute : int, optional
- second : int, optional
- microsecond : int, optional
- nanosecond : int, optional
- tzinfo : tz-convertible, optional
- fold : int, optional, default is 0
Returns: - Timestamp with fields replaced