Giter Site home page Giter Site logo

tableau_portfolio_optimization's Introduction

Portfolio Optimization

Optimization of product portfolio filtering SKUs with gross margin below a threshold set by the user. Removed SKUs reduce the asset utilization of production plant where the SKUs are produced. To run the dashboard is necessary to

  1. Edit Tableau configuration (see next Section)
  2. Edit Python script configuration (see next Section)

The Python script is optimized for execution speed: 1. Plant and SKUs databases are loaded once, the first time the script is executed by Tableau 2. The product portfolio optimization occurs only if the relevant parameter (SKU GM% threshold) is changed. Changes are detected comparing parameter stored last value with current one value

Tableau configuration (Retail.co_v04.twb)

The path where the Python script is located must be configured. In the Tableau worksheet (e.g. Original SKU) right click on the 'Python package path' in the 'Parameters' left pane and select edit. In the Current value insert the directory where the Python package is located. Please notice that backslash character '' must replaced with forward slash '/'.

Python script configuration (config.yml)

Edit the config.yml file to set path where the input databases are located. The full path of both db (database.xlsx) and plant (plant utilization.xlsx) must be set.

Dashboard execution

Dashboard 'Optimization impact on SKU' show impact of Portfolio optimization strategy to a SKU level Dashboard 'Optimization impact on subcategories' show impact of Portfolio optimization strategy to a subcategory level Dashboard 'Optimization impact on plant' show impact of Portfolio optimization strategy on plant asset utilization

How to use the documentation

Documentation is available in docstrings provided within the code, altogether with thorough commenting of code steps

References

Author: Davide Guatta, [email protected]

tableau_portfolio_optimization's People

Contributors

davideguatta avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.