pandas.Timestamp.replace

Timestamp.replace

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

added in 3.6, NotImplemented

Returns:
Timestamp with fields replaced

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Timestamp.replace.html