scikits.timeseries.DateArray.tofloat
scikits.timeseries.DateArray.tostring
Enter search terms or a module, class or function name.
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.])