pandas.Timestamp.replace¶
- Timestamp.replace(year=None, month=None, day=None, hour=None, minute=None, second=None, microsecond=None, nanosecond=None, tzinfo=<class 'object'>, fold=None)¶
Implements datetime.replace, handles nanoseconds.
- Parameters
- yearint, optional
- monthint, optional
- dayint, optional
- hourint, optional
- minuteint, optional
- secondint, optional
- microsecondint, optional
- nanosecondint, optional
- tzinfotz-convertible, optional
- foldint, optional
- Returns
- Timestamp with fields replaced