scikits.timeseries.DateArray.toordinal¶
- DateArray.toordinal()¶
Converts the dates to the corresponding proleptic Gregorian ordinals, and returns a ndarray of integers.
Examples
>>> d = ts.date_array(start_date=ts.Date('M', '2001-01'), length=5) >>> d.toordinals() array([ 730516., 730544., 730575., 730605., 730636.])
