1. 12 Apr, 2016 1 commit
    • Douglas's avatar
      Pandas-based Inventory API Protoype · 237cc8b3
      Douglas authored
      Please, review @Tyagov, @kirr and @tatuya. 
      
      All the information of this merge request is in the commit message, I'm pasting here for convenience. 
      
      ## Pandas-based Inventory API Protoype
      
      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 infomration 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. 
      
      /reviewed-on nexedi/wendelin!10
      237cc8b3
  2. 11 Apr, 2016 2 commits
    • Douglas's avatar
      Pandas Inventory: added a test business template · dfb010ed
      Douglas authored
      dfb010ed
    • Douglas's avatar
      Inventory Pandas: added an initial prototype of a Pandas-based Inventory API · 0ba29803
      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.
      0ba29803
  3. 30 Mar, 2016 1 commit
    • Douglas's avatar
      erp5_wendelin: added UI to append a file to a Data Stream · 78a9ff8e
      Douglas authored
      The Append File control is hidden when the Data Stream is empty and enabled when
      the Data Stream already has content. Meaninful notes were added to both Upload
      File and Append File control to avoid confusion.
      
      This business template was migrated to the new format during this
      implementation.
      
      /reviewed-on nexedi/wendelin!11
      78a9ff8e
  4. 29 Mar, 2016 1 commit
    • Douglas's avatar
      erp5_wendelin: added Data Stream UI to append file · 29d6de11
      Douglas authored
      The Append File control is hidden when the Data Stream is empty and enabled
      when the Data Stream already has content. Meaninful notes were added to both
      Upload File and Append File control to avoid confusion.
      This business template was migrated to the new format during this
      implementation.
      29d6de11
  5. 28 Mar, 2016 1 commit
  6. 24 Mar, 2016 2 commits
  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