1. 29 Mar, 2016 1 commit
  2. 28 Mar, 2016 3 commits
  3. 25 Mar, 2016 1 commit
  4. 24 Mar, 2016 1 commit
  5. 18 Mar, 2016 1 commit
    • Douglas's avatar
      Inventory Pandas: added an initial prototype of a Pandas-based Inventory API · 61daff3c
      Douglas authored
      The implementation relies on the Data Array Module. It imports data from the
      stocks table through a zSQL Method. Category information is added later in a
      column-wise way, so it can be easily done in parallel and query Portal Catalog
      once for each category column in the array. This category processing needs to be
      done only once, when the array is created, and to new data as it is added.
      
      But there is a catch: each entity that belongs to the movement can have many
      categories. So the row can be duplicated for each entity's categories and
      searched by equality, or they can be stored as comma-separated values and
      searched using a regular expression. Regular expression seems faster for
      datasets up to 1M rows.
      
      Some unit tests were also added.
      
      These are the external methods created and their purposes:
      
      - Base_filterInventoryDataFrame is there just to parse keyword arguments and
      forward them to Base_getInventoryDataFrame. This is used for the non-programmer
      interface of Pandas-based getMovementHistoryList implementation and can be
      used as an external method in other scripts too.
      
      - Base_convertResultsToBigArray will convert results of Portal Catalog and ZSQL
      Method to a Data Array with a proer transformation of the schema to a
      compatible NumPy data type.
      
      - Base_extendBigArray will extend a Data Array with a Portal Catalog query or
      ZSQL Method result. Raise errors when the extension data type doesn't match
      the source.
      
      - Base_fillPandasInventoryCategoryList will fill category information in a Data
      Array which has stock movements information.
      
      -Base_zGetStockByResource is used in a test case as source to create a Data
      Array with stock data.
      61daff3c
  6. 25 Feb, 2016 1 commit
  7. 22 Feb, 2016 1 commit
  8. 17 Feb, 2016 3 commits
  9. 12 Feb, 2016 2 commits
  10. 02 Feb, 2016 1 commit
  11. 13 Jan, 2016 1 commit
    • Ivan Tyagov's avatar
      Merge branch 'master' into 'master' · bca7ccd5
      Ivan Tyagov authored
      Master
      
      @Tyagov 
      This Merge request adds
       * Data Array Line -> to get a view into data array in any dimension defined by numpy indexing syntax
       * Data Event Module -> to store user-entered information about monitoring, for example on missing data
      
      The merge request also fixes getSize on empty data array and it fixes http range requests for some arrays.
      
      See merge request !9
      bca7ccd5
  12. 12 Jan, 2016 5 commits
  13. 06 Jan, 2016 3 commits
  14. 05 Jan, 2016 2 commits
  15. 18 Nov, 2015 1 commit
  16. 12 Nov, 2015 1 commit
  17. 11 Nov, 2015 2 commits
  18. 09 Nov, 2015 1 commit
  19. 29 Oct, 2015 1 commit
  20. 08 Oct, 2015 1 commit
  21. 06 Oct, 2015 2 commits
  22. 29 Sep, 2015 1 commit
  23. 28 Sep, 2015 2 commits
  24. 25 Sep, 2015 1 commit
  25. 04 Sep, 2015 1 commit