File tree Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Original file line number Diff line number Diff line change @@ -1256,7 +1256,7 @@ class NaTType(_NaT):
12561256
12571257 now = _make_nat_func(
12581258 " now" ,
1259- """
1259+ """
12601260 Return new Timestamp object representing current time local to tz.
12611261
12621262 This method returns a new `Timestamp` object that represents the current time.
@@ -1287,35 +1287,8 @@ class NaTType(_NaT):
12871287 Timestamp('2025-11-11 22:17:59.609943-03:00)
12881288
12891289
1290- Analogous for ``pd.NaT``:
1291- """
1292- Return new Timestamp object representing current time local to tz.
1293-
1294- This method returns a new `Timestamp` object that represents the current time.
1295- If a timezone is provided, the current time will be localized to that timezone.
1296- Otherwise, it returns the current local time.
1297-
1298- Parameters
1299- ----------
1300- tz : str or timezone object , default None
1301- Timezone to localize to.
1302-
1303- See Also
1304- --------
1305- to_datetime : Convert argument to datetime.
1306- Timestamp.utcnow : Return a new Timestamp representing UTC day and time.
1307- Timestamp.today : Return the current time in the local timezone.
1308-
1309- Examples
1310- --------
1311- >>> pd.Timestamp.now() # doctest: +SKIP
1312- Timestamp(" 2020-11-16 22:06:16.378782" )
1313-
13141290 Analogous for ``pd.NaT``:
13151291
1316- >>> pd.NaT.now()
1317- NaT
1318- """
13191292 >>> pd.NaT.now()
13201293 NaT
13211294 """ ,
You can’t perform that action at this time.
0 commit comments