[Scipy-svn] r3031 - trunk/Lib/sandbox/timeseries

scipy-svn at scipy.org scipy-svn at scipy.org
Tue May 22 14:15:48 EDT 2007


Author: mattknox_ca
Date: 2007-05-22 13:15:43 -0500 (Tue, 22 May 2007)
New Revision: 3031

Modified:
   trunk/Lib/sandbox/timeseries/tdates.py
Log:
optimized performance of dateinfo functions

Modified: trunk/Lib/sandbox/timeseries/tdates.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tdates.py	2007-05-22 14:40:52 UTC (rev 3030)
+++ trunk/Lib/sandbox/timeseries/tdates.py	2007-05-22 18:15:43 UTC (rev 3031)
@@ -336,7 +336,8 @@
 
     def __getdateinfo__(self, info):
         return numeric.asarray(cseries.DA_getDateInfo(numeric.asarray(self),
-                                                      self.freq, info),
+                                                      self.freq, info,
+                                                      int(self.isfull())),
                                dtype=int_)
     __getDateInfo = __getdateinfo__
     #.... Conversion methods ....................




More information about the Scipy-svn mailing list