Changeset 1201
- Timestamp:
- 08/05/08 17:14:46 (4 months ago)
- Files:
-
- trunk/timeseries/scikits/timeseries/tseries.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/timeseries/scikits/timeseries/tseries.py
r1169 r1201 286 286 """ 287 287 def __init__ (self, methodname): 288 self._name = methodname288 self._name = self.__name__ = methodname 289 289 self.obj = None 290 290 … … 323 323 abinop(x, filly) = x for all x to enable reduce. 324 324 """ 325 self._name = methodname325 self._name = self.__name__ = methodname 326 326 self._ondates = ondates 327 327 self.obj = None … … 355 355 abinop(x, filly) = x for all x to enable reduce. 356 356 """ 357 self._name = methodname357 self._name = self.__name__ = methodname 358 358 self.obj = None 359 359 … … 385 385 """Base class for the definition of time series. 386 386 387 A time series is here defined as the combination of two arrays: 388 389 series : {MaskedArray} 387 A time series is here defined as the combination of two arrays: 388 * series : {MaskedArray} 390 389 Data part 391 dates : {DateArray}392 Date part390 * dates : {DateArray} 391 Date part 393 392 394 393 *Construction*: … … 1265 1264 """Creates a TimeSeries object 1266 1265 1267 *Parameters*: 1268 data : {array_like} 1269 data portion of the array. Any data that is valid for constructing a 1270 MaskedArray can be used here. May also be a TimeSeries object 1271 dates : {DateArray}, optional 1272 Date part. 1266 Parameters 1267 ---------- 1268 data : array_like 1269 Data portion of the array. Any data that is valid for constructing a 1270 MaskedArray can be used here. May also be a TimeSeries object. 1271 dates : {None, DateArray}, optional 1272 A sequence of dates corresponding to each entry. 1273 If None, the dates will be constructed as a DateArray with the same 1274 length as `data`, starting at `start_date` with frequency `freq`. 1275 start_date : {Date}, optional 1276 Date corresponding to the first entry of the data (index 0) 1273 1277 freq : {freq_spec}, optional 1274 a valid frequency specification 1275 start_date : {Date}, optional 1276 date corresponding to index 0 in the data 1278 A valid frequency specification 1277 1279 1278 1280 *Other Parameters*:
