Permalink
Commits on Aug 7, 2010
  1. @pierregm

    c_datearray

    * Add shortcuts asarray/asndarray/...
    * Renamed init/update_datetime_descr to init/update_descr_metadata
    * Add date information methods
    * Add tovalues/toordubals/tolist methods
    * Add start_date/end_date methods
    * Add fill_missing_dates method
    * Add convert method
    pierregm committed Aug 7, 2010
Commits on Aug 2, 2010
  1. @pierregm

    * Introduce the ts_metadata structure to pass the unit and conversion…

    … information between functions.
    
    * Introduce c_types to store some generic type information.
    pierregm committed Aug 2, 2010
Commits on Jul 9, 2010
  1. @pierregm

    * c_dates.c

      - use ts_datetime instead of npy_int64
      - rename Date(Type) to DatetimeObject(_Type)
      - rename DatetimeStructToDatetime to datetimestruct_to_tsdatetime
      - streamlined DateObject_init
      - introduce string_to_tsdatetime 
    
    * c_datearray.c
      - Still a mess... Will probably crash if you try to use it. The easiest is then to comment the import line in cseries.
    pierregm committed Jul 9, 2010
Commits on Jul 1, 2010
  1. @pierregm
  2. @pierregm
Commits on Jun 30, 2010
  1. @pierregm

    Rmove scruff in c_dates.c(h)

    pierregm committed Jun 30, 2010
  2. @pierregm
  3. @pierregm
  4. @pierregm

    * c_dates.c

      - drop the .year attribute of TimeDelta
      - simplifies TimeDelta.init
      - simplifies date_plus_timedelta
    * c_convert
      - introduce divmod
      - introduce normalize_days_secs
      - introduce normalize_years_months
    pierregm committed Jun 30, 2010
Commits on Jun 29, 2010
  1. @pierregm

    * c_dates.c

      - fixed the _year/_quarter... info
      - simplified c_date_now
    * c_convert.c
      - define the set_datetimestruct_from functions
    pierregm committed Jun 29, 2010
Commits on Jun 28, 2010
  1. @pierregm

    * introduce dtypes.h

    * introduce c_convert to store all the routines handling the conversions between units
      - rename get_freq_group in get_base_unit
      - introduce conversion_function/conversion_info
      - put the units_per_periods into conversion_info
      - put the relation flag into conversion_info
    * fix c_dates and c_tseries to take the new organization into account
    pierregm committed Jun 28, 2010
Commits on Jun 25, 2010
  1. @pierregm

    Trying to get rid of get_asfreq_info.

    OK, I understand its role, but I wonder whether we can't put it in the functions themselves...
    pierregm committed Jun 25, 2010
Commits on Jun 24, 2010
  1. @pierregm

    * Introducing c_datearray (playing w/ numpy arrays)

    * c_dates.c
    - introducing the ndarray.h/datetime.c structures
    - introducing some functions
    - renaming some dinfoCalc_ functions
    pierregm committed Jun 24, 2010
Commits on Jun 22, 2010
  1. @pierregm

    * Add some test subtracting a Date and a datetime.date(time)/timedelta

    * Push the freq definitions in c_freqs
    pierregm committed Jun 22, 2010
Commits on Jun 21, 2010
  1. @pierregm

    * Add support for float for multiplication w/ TimeDelta: the float is…

    … converted to an int.
    
    * Add the corresponding test
    pierregm committed Jun 21, 2010
  2. @pierregm

    * More tests on TimeDelta

    pierregm committed Jun 21, 2010
  3. @pierregm

    * Add some tests on TimeDelta to test_dates

    * Fix Date_date_to_int when `right` is not a valid type
    pierregm committed Jun 21, 2010
  4. @pierregm

    * Add Date + datetime.timedelta / TimeDelta

    * Add Date - datetime.date(time) / TimeDelta
    * Add TimeDelta.timedelta
    * Remove TimeDelta.value/int/float
    * Deactivate TimeDelta.__hash__/__compare__
    pierregm committed Jun 21, 2010
  5. @pierregm
  6. @pierregm

    * Fixed TimeSeries.convert before the unix epoch

    * Introduced TimeDelta
    pierregm committed Jun 21, 2010
Commits on Jun 18, 2010
  1. @pierregm

    * Rename DateArray.period to DateArray.timestep

    * Rename DateArray.freq to DateArray.unit (but keep DateArray.freq for compatibility
    * Introduce TimeSeries.change_timestep
    pierregm committed Jun 18, 2010
Commits on Jun 16, 2010
  1. @pierregm

    * Add `_freq`, `_period`, `period` to TimeSeries

    * Add support for converting a series from one frequency+period to another frequency
    pierregm committed Jun 16, 2010
Commits on Jun 15, 2010
  1. @pierregm
  2. @pierregm

    * Make `period` a read-only property

    * Make `freq` a read-write property: setting .freq calls .asfreq
    pierregm committed Jun 15, 2010
  3. @pierregm
  4. @pierregm
Commits on Jun 14, 2010
  1. @pierregm
  2. @pierregm
Commits on Jun 11, 2010
  1. * Update the documentation of tsfromtxt

    pierregm committed Jun 11, 2010
Commits on Jan 20, 2010
  1. tsfromtxt

    * Make sure that names are properly saved w/ usecols
    * Make sure that the missing values are properly processed when no names
    pierregm committed Jan 20, 2010
Commits on Jan 3, 2010
  1. * fixed an issue in DateArray.__repr__ (bug #98)

    pierregm committed Jan 3, 2010
Commits on Dec 19, 2009
  1. * Simple fix to take into account that the _fill_value attribute can …

    …be 0d in numpy 1.5.0
    pierregm committed Dec 19, 2009
Commits on Nov 15, 2009
  1. - fixes in sphinx plot_directive

    - update info for 0.91.3 release
    - add _preview.py to include unreleased version of genfromtxt function from numpy
    mattknox_ca committed Nov 15, 2009