File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,9 @@ cdef class _NaT(datetime):
183
183
return np.datetime64(NPY_NAT, ' ns' )
184
184
185
185
def to_datetime64 (self ):
186
- """ Returns a numpy.datetime64 object with 'ns' precision """
186
+ """
187
+ Return a numpy.datetime64 object with 'ns' precision.
188
+ """
187
189
return np.datetime64(' NaT' , ' ns' )
188
190
189
191
def __repr__ (self ):
@@ -448,7 +450,7 @@ class NaTType(_NaT):
448
450
"""
449
451
Timestamp.now(tz=None)
450
452
451
- Returns new Timestamp object representing current time local to
453
+ Return new Timestamp object representing current time local to
452
454
tz.
453
455
454
456
Parameters
Original file line number Diff line number Diff line change @@ -340,7 +340,9 @@ cdef class _Timestamp(datetime):
340
340
self .microsecond, self .tzinfo)
341
341
342
342
cpdef to_datetime64(self ):
343
- """ Returns a numpy.datetime64 object with 'ns' precision """
343
+ """
344
+ Return a numpy.datetime64 object with 'ns' precision.
345
+ """
344
346
return np.datetime64(self .value, ' ns' )
345
347
346
348
def __add__ (self , other ):
You can’t perform that action at this time.
0 commit comments