The Pandas.Timestamp
is an equivalent of Python’s datetime
object. It has an attribute, min
, that can be used to obtain the minimum datetime
object. This can be generated for a Timestamp
object in Pandas.
The min
attribute has the following syntax:
pandas.Timestamp.min
The min
attribute takes no parameter value.
The min
attribute returns the minimum Timestamp
(datetime
) object in Pandas.
# A cose to illustrate the min attribute in Pandas# importing the pandas libraryimport pandas as pd# obtaining the min Timestamp value or object in Pandasmin_date = pd.Timestamp.minprint("The minimum date time in Pandas is: ", min_date)
pandas
library.datetime
object in Pandas using the min
attribute. The result is assigned to a variable named min_date
.min_date
.