File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1007,9 +1007,6 @@ cdef class SingleConstructorOffset(BaseOffset):
1007
1007
# Tick Offsets
1008
1008
1009
1009
cdef class Tick(SingleConstructorOffset):
1010
- """
1011
- Represents ticks
1012
- """
1013
1010
_adjust_dst = False
1014
1011
_prefix = " undefined"
1015
1012
_attributes = tuple ([" n" , " normalize" ])
@@ -1185,10 +1182,7 @@ cdef class Day(Tick):
1185
1182
Parameters
1186
1183
----------
1187
1184
n : int
1188
- Number of multiples of the frequency.
1189
-
1190
- normalize: bool
1191
- Must be `False`
1185
+ Number of multiples of the frequency (default 1).
1192
1186
1193
1187
Attributes
1194
1188
----------
@@ -1221,6 +1215,9 @@ cdef class Day(Tick):
1221
1215
_period_dtype_code = PeriodDtypeCode.D
1222
1216
_creso = NPY_DATETIMEUNIT.NPY_FR_D
1223
1217
1218
+ def __init__ (self , n = 1 , normalize = False ):
1219
+ super ().__init__(n, normalize)
1220
+ print (" in Day init" )
1224
1221
1225
1222
cdef class Hour(Tick):
1226
1223
"""
You can’t perform that action at this time.
0 commit comments