We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22b6749 commit 591cef5Copy full SHA for 591cef5
pandas/_libs/tslibs/period.pyx
@@ -1271,6 +1271,25 @@ cdef class _Period(object):
1271
1272
@property
1273
def minute(self):
1274
+ """
1275
+ Get minute of the hour component of the Period.
1276
+
1277
+ Returns
1278
+ -------
1279
+ int
1280
+ The minute as an integer, between 0 and 59.
1281
1282
+ See Also
1283
+ --------
1284
+ Period.hour : Get the hour component of the Period.
1285
+ Period.second : Get the second component of the Period.
1286
1287
+ Examples
1288
1289
+ >>> p = pd.Period("2018-03-11 13:03:12.050000")
1290
+ >>> p.minute
1291
+ 3
1292
1293
base, mult = get_freq_code(self.freq)
1294
return pminute(self.ordinal, base)
1295
0 commit comments