1. 30 Mar, 2016 1 commit
  2. 29 Mar, 2016 1 commit
  3. 28 Mar, 2016 3 commits
  4. 25 Mar, 2016 1 commit
  5. 24 Mar, 2016 1 commit
  6. 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
  7. 25 Feb, 2016 1 commit
  8. 22 Feb, 2016 1 commit
  9. 17 Feb, 2016 3 commits
  10. 12 Feb, 2016 2 commits
  11. 02 Feb, 2016 1 commit
  12. 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
  13. 12 Jan, 2016 5 commits
  14. 06 Jan, 2016 3 commits
  15. 05 Jan, 2016 2 commits
  16. 18 Nov, 2015 1 commit
  17. 12 Nov, 2015 1 commit
  18. 11 Nov, 2015 2 commits
  19. 09 Nov, 2015 1 commit
  20. 29 Oct, 2015 1 commit
  21. 08 Oct, 2015 1 commit
  22. 06 Oct, 2015 2 commits
  23. 29 Sep, 2015 1 commit
  24. 28 Sep, 2015 2 commits
  25. 25 Sep, 2015 1 commit