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

scipy-svn@scip... scipy-svn@scip...
Thu May 3 10:02:13 CDT 2007


Author: mattknox_ca
Date: 2007-05-03 10:01:45 -0500 (Thu, 03 May 2007)
New Revision: 2956

Modified:
   trunk/Lib/sandbox/timeseries/tdates.py
Log:
changed default for relation parameter of DateArray asfreq method to "AFTER"

Modified: trunk/Lib/sandbox/timeseries/tdates.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tdates.py	2007-05-03 14:13:04 UTC (rev 2955)
+++ trunk/Lib/sandbox/timeseries/tdates.py	2007-05-03 15:01:45 UTC (rev 2956)
@@ -354,7 +354,7 @@
             self._cachedinfo['tostr'] = tostr
         return self._cachedinfo['tostr']
     #
-    def asfreq(self, freq=None, relation="BEFORE"):
+    def asfreq(self, freq=None, relation="AFTER"):
         "Converts the dates to another frequency."
         # Note: As we define a new object, we don't need caching
         if freq is None or freq == _c.FR_UND:



More information about the Scipy-svn mailing list