Skip to content

Commit b54a905

Browse files
committed
Revert "Update tslib.pyx"
This reverts commit 40ac031.
1 parent 40ac031 commit b54a905

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/tslib.pyx

-4
Original file line numberDiff line numberDiff line change
@@ -3230,10 +3230,6 @@ cpdef inline int64_t cast_from_unit(object ts, object unit) except? -1:
32303230
cdef:
32313231
int64_t m
32323232
int p
3233-
3234-
if unit == 'julian':
3235-
unit = 'D'
3236-
ts = ts - Timestamp(0).to_julian_date()
32373233

32383234
if unit == 'D' or unit == 'd':
32393235
m = 1000000000L * 86400

0 commit comments

Comments
 (0)