File tree 3 files changed +6
-7
lines changed
3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 75
75
python -m pip install --upgrade pip setuptools wheel
76
76
python -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
77
77
python -m pip install git+https://github.com/nedbat/coveragepy.git
78
- python -m pip install versioneer[toml]
79
78
python -m pip install -r ci/deps/actions-311-dev.txt
80
79
python -m pip list
81
80
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ pytest-xdist
6
6
pytest-cov
7
7
pytest-asyncio>=0.17
8
8
python-dateutil
9
- pytz
9
+ pytz
10
+ versioneer[toml]
Original file line number Diff line number Diff line change @@ -367,25 +367,24 @@ cdef class BaseOffset:
367
367
# dict _cache
368
368
369
369
def __init__ (self , n = 1 , normalize = False ):
370
- n = self ._validate_n(n)
371
- self .n = n
372
370
"""
373
371
Number of multiples of the frequency.
374
372
375
373
Examples
376
374
--------
377
375
>>> pd.offsets.Hour(5).n
378
376
5
379
- """
380
- self .normalize = normalize
381
- """
377
+
382
378
Return boolean whether the frequency can align with midnight.
383
379
384
380
Examples
385
381
--------
386
382
>>> pd.offsets.Hour(5).normalize
387
383
False
388
384
"""
385
+ n = self ._validate_n(n)
386
+ self .n = n
387
+ self .normalize = normalize
389
388
self ._cache = {}
390
389
391
390
def __eq__ (self , other ) -> bool:
You can’t perform that action at this time.
0 commit comments