Skip to content

Commit 5c1494c

Browse files
committed
Reviewer comments
1 parent 4d7f6f2 commit 5c1494c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/_libs/tslib.pyx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -857,10 +857,6 @@ class NaTType(_NaT):
857857
def __reduce__(self):
858858
return (__nat_unpickle, (None, ))
859859

860-
def total_seconds(self):
861-
# GH 10939
862-
return np.nan
863-
864860
@property
865861
def is_leap_year(self):
866862
return False
@@ -3893,8 +3889,7 @@ _nat_methods = ['date', 'now', 'replace', 'to_pydatetime',
38933889
'today', 'round', 'floor', 'ceil', 'tz_convert',
38943890
'tz_localize']
38953891
_nan_methods = ['weekday', 'isoweekday']
3896-
_implemented_methods = [
3897-
'to_datetime', 'to_datetime64', 'isoformat', 'total_seconds']
3892+
_implemented_methods = ['to_datetime', 'to_datetime64', 'isoformat']
38983893
_implemented_methods.extend(_nat_methods)
38993894
_implemented_methods.extend(_nan_methods)
39003895

0 commit comments

Comments
 (0)