@@ -912,7 +912,6 @@ cdef class SingleConstructorOffset(BaseOffset):
912
912
cdef class Tick(SingleConstructorOffset):
913
913
_adjust_dst = False
914
914
_prefix = " undefined"
915
- _td64_unit = " undefined"
916
915
_attributes = tuple ([" n" , " normalize" ])
917
916
918
917
def __init__ (self , n = 1 , normalize = False ):
@@ -1092,55 +1091,48 @@ cdef class Tick(SingleConstructorOffset):
1092
1091
cdef class Day(Tick):
1093
1092
_nanos_inc = 24 * 3600 * 1 _000_000_000
1094
1093
_prefix = " D"
1095
- _td64_unit = " D"
1096
1094
_period_dtype_code = PeriodDtypeCode.D
1097
1095
_creso = NPY_DATETIMEUNIT.NPY_FR_D
1098
1096
1099
1097
1100
1098
cdef class Hour(Tick):
1101
1099
_nanos_inc = 3600 * 1 _000_000_000
1102
1100
_prefix = " H"
1103
- _td64_unit = " h"
1104
1101
_period_dtype_code = PeriodDtypeCode.H
1105
1102
_creso = NPY_DATETIMEUNIT.NPY_FR_h
1106
1103
1107
1104
1108
1105
cdef class Minute(Tick):
1109
1106
_nanos_inc = 60 * 1 _000_000_000
1110
1107
_prefix = " T"
1111
- _td64_unit = " m"
1112
1108
_period_dtype_code = PeriodDtypeCode.T
1113
1109
_creso = NPY_DATETIMEUNIT.NPY_FR_m
1114
1110
1115
1111
1116
1112
cdef class Second(Tick):
1117
1113
_nanos_inc = 1 _000_000_000
1118
1114
_prefix = " S"
1119
- _td64_unit = " s"
1120
1115
_period_dtype_code = PeriodDtypeCode.S
1121
1116
_creso = NPY_DATETIMEUNIT.NPY_FR_s
1122
1117
1123
1118
1124
1119
cdef class Milli(Tick):
1125
1120
_nanos_inc = 1 _000_000
1126
1121
_prefix = " L"
1127
- _td64_unit = " ms"
1128
1122
_period_dtype_code = PeriodDtypeCode.L
1129
1123
_creso = NPY_DATETIMEUNIT.NPY_FR_ms
1130
1124
1131
1125
1132
1126
cdef class Micro(Tick):
1133
1127
_nanos_inc = 1000
1134
1128
_prefix = " U"
1135
- _td64_unit = " us"
1136
1129
_period_dtype_code = PeriodDtypeCode.U
1137
1130
_creso = NPY_DATETIMEUNIT.NPY_FR_us
1138
1131
1139
1132
1140
1133
cdef class Nano(Tick):
1141
1134
_nanos_inc = 1
1142
1135
_prefix = " N"
1143
- _td64_unit = " ns"
1144
1136
_period_dtype_code = PeriodDtypeCode.N
1145
1137
_creso = NPY_DATETIMEUNIT.NPY_FR_ns
1146
1138
0 commit comments