Skip to content

Commit 4d7f6f2

Browse files
committed
Dont re-pin total seconds as it is already implemented
1 parent 1981b67 commit 4d7f6f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/_libs/tslib.pyx

+3-2
Original file line numberDiff line numberDiff line change
@@ -3892,8 +3892,9 @@ for field in fields:
38923892
_nat_methods = ['date', 'now', 'replace', 'to_pydatetime',
38933893
'today', 'round', 'floor', 'ceil', 'tz_convert',
38943894
'tz_localize']
3895-
_nan_methods = ['weekday', 'isoweekday', 'total_seconds']
3896-
_implemented_methods = ['to_datetime', 'to_datetime64', 'isoformat']
3895+
_nan_methods = ['weekday', 'isoweekday']
3896+
_implemented_methods = [
3897+
'to_datetime', 'to_datetime64', 'isoformat', 'total_seconds']
38973898
_implemented_methods.extend(_nat_methods)
38983899
_implemented_methods.extend(_nan_methods)
38993900

0 commit comments

Comments
 (0)