Added variable type annotations
This commit is contained in:
parent
a19f7e7b21
commit
d24b0d8bb2
@ -236,12 +236,12 @@ class TimeSeriesCore(UserDict):
|
|||||||
self.data = dict(data)
|
self.data = dict(data)
|
||||||
if len(self.data) != len(data):
|
if len(self.data) != len(data):
|
||||||
print("Warning: The input data contains duplicate dates which have been ignored.")
|
print("Warning: The input data contains duplicate dates which have been ignored.")
|
||||||
self.frequency = getattr(AllFrequencies, frequency)
|
self.frequency: Frequency = getattr(AllFrequencies, frequency)
|
||||||
self.iter_num = -1
|
self.iter_num: int = -1
|
||||||
self._dates = None
|
self._dates: list = None
|
||||||
self._values = None
|
self._values: list = None
|
||||||
self._start_date = None
|
self._start_date: datetime.datetime = None
|
||||||
self._end_date = None
|
self._end_date: datetime.datetime = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def dates(self) -> Series:
|
def dates(self) -> Series:
|
||||||
|
Loading…
Reference in New Issue
Block a user