[Scipy-svn] r2380 - trunk/Lib/sandbox/timeseries
scipy-svn at scipy.org
scipy-svn at scipy.org
Sat Dec 9 12:15:09 EST 2006
Author: mattknox_ca
Date: 2006-12-09 11:15:02 -0600 (Sat, 09 Dec 2006)
New Revision: 2380
Modified:
trunk/Lib/sandbox/timeseries/shiftingarray.py
Log:
general cleanup
Modified: trunk/Lib/sandbox/timeseries/shiftingarray.py
===================================================================
--- trunk/Lib/sandbox/timeseries/shiftingarray.py 2006-12-09 17:09:21 UTC (rev 2379)
+++ trunk/Lib/sandbox/timeseries/shiftingarray.py 2006-12-09 17:15:02 UTC (rev 2380)
@@ -1,5 +1,4 @@
import numpy, types , corelib
-import copy
from numpy import ma
class ShiftingArray(object):
@@ -216,12 +215,8 @@
else:
return "<no data>"
- def show(self, showLists=True):
- print "indexZeroRepresents = ", self.indexZeroRepresents
- print self.data
-
#apply func to ser1 and ser2, replacing masked values with fill_value
def doFunc(ser1, ser2, func,fill_value=ma.masked):
if not isinstance(ser2, ShiftingArray):
@@ -241,7 +236,7 @@
minVal = max(sFV, oFV)
maxVal = min(sLV, oLV)
elif ser1.indexZeroRepresents is None and ser2.indexZeroRepresents is None:
- return ShiftingArray([],ser1.data.dtype)
+ return ShiftingArray([],ser1.data.dtype)
elif ser1.indexZeroRepresents is None:
minVal = oFV
maxVal = oLV
More information about the Scipy-svn
mailing list