SlideShare a Scribd company logo
© 2020 Minitab, LLC.
Welcome! In a few minutes we will begin the webinar.
AUDIO WEB:
Please make sure you have your computer audio system
activated and your speakers turned up.
QUESTIONS:
Please write your questions in the questions pane
at any time.
Mikhail Golovnya
Sr. Advisory Data
Scientist
Abbie Wong
Regional Marketing
ManagerUnleashing the Power of Python Using
the New Minitab/Python Integration Module
© 2020 Minitab, LLC.
Unleashing the Power of Python Using
the New Minitab/Python Integration Module
© 2020 Minitab, LLC.
• 20+ years of
experience
• Masters in Rocket
Science
• Masters in Statistical
Computing
Meet the Presenter:
Mikhail Golovnya
Senior Advisory Data Scientist
© 2020 Minitab, LLC.
Why Python?
► Python is the main working environment of a vibrant community of data scientists centered around open
source philosophy
► Python provides a convenient scripting language to accommodate different data processing tasks
► Python offers huge diversity of various packages to serve the ever growing needs of data scientists
► But, implementing all data analysis steps in Python is not for everyone
 You have to be a programmer
 You have to figure things out
 You have to cope with possible errors
► Python/Minitab connector allows you to preserve the simplicity and user conveniences of Minitab while
getting access to the unique extensions offered on the Python side!
4
© 2020 Minitab, LLC.
Installing Python/Minitab Connector
► You need to install the latest version of Python 3
 We recommend Anaconda distribution available here
https://www.anaconda.com/products/individual
 The easiest option is to add Python to the system Path variable during the Python installation (you can ignore
more elaborate options like Anaconda Navigator, etc.)
► You need to make sure that Python is visible
 Use the following commands to check that this is the case and that you have the right version of
Python
python –V
python –version
► Install “mtbpy” package using the wheel file (a binary file) supplied by Minitab
 The easiest way is to use the following command
pip install mtbpy-1.0.0rc1-py3-none-any.whl
here mtbpy-1.0.0rc1-py3-none-any.whl is the wheel file
5
© 2020 Minitab, LLC.
Testing Python/Minitab Connector
► Use File – Options: General menu to indicate the Default file location
► Place the supplied “test.py” script in the default location
► Execute the PYSC command in Minitab Command Line
► Confirm that Minitab sees Python
6
© 2020 Minitab, LLC.
Passing Constants Around
# Loading MTB connector
from mtbpy import mtbpy
# Receive constants from MTB side
K1 = mtbpy.mtb_instance().get_constant("K1")
K2 = mtbpy.mtb_instance().get_constant("K2")
# Write messages back to MTB
mtbpy.mtb_instance().add_message("Received K1: " + str(K1))
mtbpy.mtb_instance().add_message("Received K2: " + K2)
7
Minitab Python
© 2020 Minitab, LLC.
Passing Columns Around
► # Loading MTB connector
► from mtbpy import mtbpy
► # Receive columns from MTB side as Python lists
► var1 = mtbpy.mtb_instance().get_constant("K1")
► var2 = mtbpy.mtb_instance().get_constant("K2")
► list1 = mtbpy.mtb_instance().get_column(var1)
► list2 = mtbpy.mtb_instance().get_column(var2)
► # Write messages back to MTB
► mtbpy.mtb_instance().add_message("Received " + str(var1)
+ ": " + ", ".join([str(i) for i in list1]))
► mtbpy.mtb_instance().add_message("Received " + str(var2)
+ ": " + ", ".join([str(i) for i in list2]))
8
Minitab
Python
© 2020 Minitab, LLC.
Manipulating Datasets
► # Loading libraries
► import pandas as pd
► from mtbpy import mtbpy
► # Receive parameters from Minitab and user feedback
► …
► # Loading dataset for analysis
► dataset = pd.read_csv(input_file)
► # Creating a new variable
► dataset[new_var] = dataset[var]*multiplier
► # Saving new dataset
► dataset.to_csv(output_file, index = False, header=True)
► # Writing message to MTB
► mtbpy.mtb_instance().add_message("Finished processing.")
9
Minitab
Python
© 2020 Minitab, LLC.
Inserting Images
► # Loading MTB connector
► from mtbpy import mtbpy
► # Transfering parameters from MTB
► input_file = mtbpy.mtb_instance().get_constant("K1")
► # User feedback
► mtbpy.mtb_instance().add_message("Input dataset: " +
input_file)
► # Send the png file to the Minitab output
► mtbpy.mtb_instance().add_image(input_file)
10
Minitab
Python
© 2020 Minitab, LLC.
Inserting Tables
► # Loading MTB connector
► from mtbpy import mtbpy
► # Initialize the arrays
► words = ['one', 'two', 'three', 'four']
► freqs = [10, 20, 30, 40]
► # Send the table to the Minitab output
► mtbpy.mtb_instance().add_table(columns=[words, freqs],
headers=["Word", "Frequency"], title="Simple Table",
footnote="Footnote here")
11
Minitab
Python
© 2020 Minitab, LLC.
Explore and Have Fun!
► from wordcloud import WordCloud, STOPWORDS
► import numpy as np
► from PIL import Image
► from mtbpy import mtbpy
► # Generate word cloud
► nWords = 150
► dataset = open("coffee_reviews.txt", "r", encoding="utf8").read()
► dataset = dataset.lower()
► maskArray = np.array(Image.open("cloud.png"))
► cloud = WordCloud(background_color = "white", max_words =
nWords, mask = maskArray, stopwords = set(STOPWORDS))
► cloud.generate(dataset)
► cloud.to_file("word_cloud.png")
► mtbpy.mtb_instance().add_image("word_cloud.png")
12
Minitab
Python
© 2020 Minitab, LLC.
Explore and Have Fun!
► …
► # Initialize the arrays to store words and their frequencies
► words = []
► freqs = []
► # Loop to count the words in the word cloud frequency dictionary
► for word in cloud.words_:
words.append(word)
freqs.append(cloud.words_[word])
► # Send the table to the Minitab output
► mtbpy.mtb_instance().add_table(columns=[words, freqs],
headers=["Word", "Frequency"], title="Word Cloud Data",
footnote="{0} rows are in this table".format(nWords))
13
Minitab
Python
© 2020 Minitab, LLC.
Questions?
© 2020 Minitab, LLC.
Upcoming Webinars
Machine Learning Series
A three-part series where we explore multiple regression, binary logistic regression and Classification
and Regression Trees (Cart ®) in Minitab.
Dates
Wednesday 17 June
Tuesday 30 June
Wednesday 15 July
Time
12pm AEST (10am HKT/ 2pm NZST)
Get the details here
https://hubs.ly/H0r5TZw0
© 2020 Minitab, LLC.
Upcoming Training
Virtual Training
Take our Minitab Signature Trainings virtually now from anywhere and learn directly from
our expert statisticians. Upcoming training include:
• Predictive Analytics: Machine Learning: June 18-19
See all the details at:
https://hubs.ly/H0r5XRL0
© 2020 Minitab, LLC.
Our Approach: More Than Business Analytics… Solutions Analytics
Software
Services
Training
Learn first-hand by attending public or
customized trainings in your facilities
according to your requirements.
Statistical
Consulting
Personalized help with statistical
challenges from collecting the right data
to interpreting analysis more.
Support
Assistance with installation,
implementation, version updates
and license management.
Master statistics and
Minitab anywhere
with online training
Machine learning and
predictive analytics
software
Start, track, manage
and execute
improvement projects
with real-time
dashboards
Powerful statistical
software everyone
can use.
Data Analysis Predictive Modeling Visual Business Tools Project Oversight
Visual tools to
process and product
excellence.
Online Training
Solutions analytics is our integrated approach to providing software and services that enable organizations to make better decisions that drive business excellence.
© 2020 Minitab, LLC.
Thank you
Ad

More Related Content

What's hot (20)

Launching a Data Platform on Snowflake
Launching a Data Platform on SnowflakeLaunching a Data Platform on Snowflake
Launching a Data Platform on Snowflake
KETL Limited
 
Where Did That Come From? Techniques for Debugging HFM
Where Did That Come From?  Techniques for Debugging HFMWhere Did That Come From?  Techniques for Debugging HFM
Where Did That Come From? Techniques for Debugging HFM
finitsolutions
 
Dynamics 365 for Finance and Operations - Power BI
Dynamics 365 for Finance and Operations - Power BIDynamics 365 for Finance and Operations - Power BI
Dynamics 365 for Finance and Operations - Power BI
Juan Fabian
 
Abap web dynpro
Abap   web dynproAbap   web dynpro
Abap web dynpro
manojdhir
 
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and WhyEssbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Datavail
 
OData って何?
OData って何?OData って何?
OData って何?
Yoshitaka Seo
 
Clarity MS Project and Open Workbench
Clarity MS Project and Open WorkbenchClarity MS Project and Open Workbench
Clarity MS Project and Open Workbench
Yolanda Williams
 
An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...
An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...
An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...
Iver Band
 
Introduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisionsIntroduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisions
VIVEK GURURANI
 
Adobe: The Wonderful World of Web Analytics
Adobe: The Wonderful World of Web AnalyticsAdobe: The Wonderful World of Web Analytics
Adobe: The Wonderful World of Web Analytics
Online Marketing Institute
 
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | EdurekaPower BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Edureka!
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
James Serra
 
Traditional BI VS Self Service BI
Traditional BI VS Self Service BITraditional BI VS Self Service BI
Traditional BI VS Self Service BI
Visual_BI
 
Understanding HFM System Tables
Understanding HFM System TablesUnderstanding HFM System Tables
Understanding HFM System Tables
aa026593
 
Types of connections in Power BI
Types of connections in Power BITypes of connections in Power BI
Types of connections in Power BI
Swapnil Jadhav
 
Application decommissioning stop spending millions supporting legacy applicat...
Application decommissioning stop spending millions supporting legacy applicat...Application decommissioning stop spending millions supporting legacy applicat...
Application decommissioning stop spending millions supporting legacy applicat...
Flatirons Solutions®
 
Power BI Create lightning fast dashboard with power bi & Its Components
Power BI Create lightning fast dashboard with power bi & Its Components Power BI Create lightning fast dashboard with power bi & Its Components
Power BI Create lightning fast dashboard with power bi & Its Components
Vishal Pawar
 
Big Data Analytics to Enhance Security
Big Data Analytics to Enhance SecurityBig Data Analytics to Enhance Security
Big Data Analytics to Enhance Security
Data Science Thailand
 
Web Intelligence - Tutorial1
Web Intelligence - Tutorial1Web Intelligence - Tutorial1
Web Intelligence - Tutorial1
Obily W
 
Scalable Real-time analytics using Druid
Scalable Real-time analytics using DruidScalable Real-time analytics using Druid
Scalable Real-time analytics using Druid
DataWorks Summit/Hadoop Summit
 
Launching a Data Platform on Snowflake
Launching a Data Platform on SnowflakeLaunching a Data Platform on Snowflake
Launching a Data Platform on Snowflake
KETL Limited
 
Where Did That Come From? Techniques for Debugging HFM
Where Did That Come From?  Techniques for Debugging HFMWhere Did That Come From?  Techniques for Debugging HFM
Where Did That Come From? Techniques for Debugging HFM
finitsolutions
 
Dynamics 365 for Finance and Operations - Power BI
Dynamics 365 for Finance and Operations - Power BIDynamics 365 for Finance and Operations - Power BI
Dynamics 365 for Finance and Operations - Power BI
Juan Fabian
 
Abap web dynpro
Abap   web dynproAbap   web dynpro
Abap web dynpro
manojdhir
 
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and WhyEssbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Datavail
 
Clarity MS Project and Open Workbench
Clarity MS Project and Open WorkbenchClarity MS Project and Open Workbench
Clarity MS Project and Open Workbench
Yolanda Williams
 
An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...
An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...
An Introduction to Enterprise Architecture Visual Modeling With The ArchiMate...
Iver Band
 
Introduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisionsIntroduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisions
VIVEK GURURANI
 
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | EdurekaPower BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Power BI Dashboard | Microsoft Power BI Tutorial | Data Visualization | Edureka
Edureka!
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
James Serra
 
Traditional BI VS Self Service BI
Traditional BI VS Self Service BITraditional BI VS Self Service BI
Traditional BI VS Self Service BI
Visual_BI
 
Understanding HFM System Tables
Understanding HFM System TablesUnderstanding HFM System Tables
Understanding HFM System Tables
aa026593
 
Types of connections in Power BI
Types of connections in Power BITypes of connections in Power BI
Types of connections in Power BI
Swapnil Jadhav
 
Application decommissioning stop spending millions supporting legacy applicat...
Application decommissioning stop spending millions supporting legacy applicat...Application decommissioning stop spending millions supporting legacy applicat...
Application decommissioning stop spending millions supporting legacy applicat...
Flatirons Solutions®
 
Power BI Create lightning fast dashboard with power bi & Its Components
Power BI Create lightning fast dashboard with power bi & Its Components Power BI Create lightning fast dashboard with power bi & Its Components
Power BI Create lightning fast dashboard with power bi & Its Components
Vishal Pawar
 
Big Data Analytics to Enhance Security
Big Data Analytics to Enhance SecurityBig Data Analytics to Enhance Security
Big Data Analytics to Enhance Security
Data Science Thailand
 
Web Intelligence - Tutorial1
Web Intelligence - Tutorial1Web Intelligence - Tutorial1
Web Intelligence - Tutorial1
Obily W
 

Similar to Unleashing the Power of Python Using the New Minitab/Python Integration Module Webinar Presentation (20)

Samsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of PythonSamsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of Python
Insuk (Chris) Cho
 
PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)
Hansol Kang
 
3D Computer Graphics with Python
3D Computer Graphics with Python3D Computer Graphics with Python
3D Computer Graphics with Python
Martin Christen
 
Mantis: Netflix's Event Stream Processing System
Mantis: Netflix's Event Stream Processing SystemMantis: Netflix's Event Stream Processing System
Mantis: Netflix's Event Stream Processing System
C4Media
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
VictorSzoltysek
 
Precomputing recommendations with Apache Beam
Precomputing recommendations with Apache BeamPrecomputing recommendations with Apache Beam
Precomputing recommendations with Apache Beam
Tatiana Al-Chueyr
 
Monitoraggio del Traffico di Rete Usando Python ed ntop
Monitoraggio del Traffico di Rete Usando Python ed ntopMonitoraggio del Traffico di Rete Usando Python ed ntop
Monitoraggio del Traffico di Rete Usando Python ed ntop
PyCon Italia
 
OpenPOWER Workshop in Silicon Valley
OpenPOWER Workshop in Silicon ValleyOpenPOWER Workshop in Silicon Valley
OpenPOWER Workshop in Silicon Valley
Ganesan Narayanasamy
 
Building Data Pipelines in Python
Building Data Pipelines in PythonBuilding Data Pipelines in Python
Building Data Pipelines in Python
C4Media
 
Python for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptxPython for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptx
Dr. Amanpreet Kaur
 
Voyager Meets MeLCat: MC'ing the Introductions
Voyager Meets MeLCat: MC'ing the IntroductionsVoyager Meets MeLCat: MC'ing the Introductions
Voyager Meets MeLCat: MC'ing the Introductions
Roy Zimmer
 
20101026 ASAP Seminar
20101026 ASAP Seminar20101026 ASAP Seminar
20101026 ASAP Seminar
Jonathan Blakes
 
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
Codemotion Tel Aviv
 
Brief Introduction to Cython
Brief Introduction to CythonBrief Introduction to Cython
Brief Introduction to Cython
Aleksandar Jelenak
 
PyCon Estonia 2019
PyCon Estonia 2019PyCon Estonia 2019
PyCon Estonia 2019
Travis Oliphant
 
Using Data Science & Serverless Python to find apartment in Toronto
Using Data Science & Serverless Python to find apartment in TorontoUsing Data Science & Serverless Python to find apartment in Toronto
Using Data Science & Serverless Python to find apartment in Toronto
Daniel Zivkovic
 
mpi4py.pdf
mpi4py.pdfmpi4py.pdf
mpi4py.pdf
A Jorge Garcia
 
OpenWhisk by Example - Auto Retweeting Example in Python
OpenWhisk by Example - Auto Retweeting Example in PythonOpenWhisk by Example - Auto Retweeting Example in Python
OpenWhisk by Example - Auto Retweeting Example in Python
CodeOps Technologies LLP
 
Intro to open source telemetry linux con 2016
Intro to open source telemetry   linux con 2016Intro to open source telemetry   linux con 2016
Intro to open source telemetry linux con 2016
Matthew Broberg
 
Class 26: Objectifying Objects
Class 26: Objectifying ObjectsClass 26: Objectifying Objects
Class 26: Objectifying Objects
David Evans
 
Samsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of PythonSamsung SDS OpeniT - The possibility of Python
Samsung SDS OpeniT - The possibility of Python
Insuk (Chris) Cho
 
PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)PyTorch 튜토리얼 (Touch to PyTorch)
PyTorch 튜토리얼 (Touch to PyTorch)
Hansol Kang
 
3D Computer Graphics with Python
3D Computer Graphics with Python3D Computer Graphics with Python
3D Computer Graphics with Python
Martin Christen
 
Mantis: Netflix's Event Stream Processing System
Mantis: Netflix's Event Stream Processing SystemMantis: Netflix's Event Stream Processing System
Mantis: Netflix's Event Stream Processing System
C4Media
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
VictorSzoltysek
 
Precomputing recommendations with Apache Beam
Precomputing recommendations with Apache BeamPrecomputing recommendations with Apache Beam
Precomputing recommendations with Apache Beam
Tatiana Al-Chueyr
 
Monitoraggio del Traffico di Rete Usando Python ed ntop
Monitoraggio del Traffico di Rete Usando Python ed ntopMonitoraggio del Traffico di Rete Usando Python ed ntop
Monitoraggio del Traffico di Rete Usando Python ed ntop
PyCon Italia
 
OpenPOWER Workshop in Silicon Valley
OpenPOWER Workshop in Silicon ValleyOpenPOWER Workshop in Silicon Valley
OpenPOWER Workshop in Silicon Valley
Ganesan Narayanasamy
 
Building Data Pipelines in Python
Building Data Pipelines in PythonBuilding Data Pipelines in Python
Building Data Pipelines in Python
C4Media
 
Python for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptxPython for Machine Learning(MatPlotLib).pptx
Python for Machine Learning(MatPlotLib).pptx
Dr. Amanpreet Kaur
 
Voyager Meets MeLCat: MC'ing the Introductions
Voyager Meets MeLCat: MC'ing the IntroductionsVoyager Meets MeLCat: MC'ing the Introductions
Voyager Meets MeLCat: MC'ing the Introductions
Roy Zimmer
 
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
How to Leverage Machine Learning (R, Hadoop, Spark, H2O) for Real Time Proces...
Codemotion Tel Aviv
 
Using Data Science & Serverless Python to find apartment in Toronto
Using Data Science & Serverless Python to find apartment in TorontoUsing Data Science & Serverless Python to find apartment in Toronto
Using Data Science & Serverless Python to find apartment in Toronto
Daniel Zivkovic
 
OpenWhisk by Example - Auto Retweeting Example in Python
OpenWhisk by Example - Auto Retweeting Example in PythonOpenWhisk by Example - Auto Retweeting Example in Python
OpenWhisk by Example - Auto Retweeting Example in Python
CodeOps Technologies LLP
 
Intro to open source telemetry linux con 2016
Intro to open source telemetry   linux con 2016Intro to open source telemetry   linux con 2016
Intro to open source telemetry linux con 2016
Matthew Broberg
 
Class 26: Objectifying Objects
Class 26: Objectifying ObjectsClass 26: Objectifying Objects
Class 26: Objectifying Objects
David Evans
 
Ad

More from Minitab, LLC (20)

L'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des donnéesL'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des données
Minitab, LLC
 
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Minitab, LLC
 
Introducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You ForwardIntroducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You Forward
Minitab, LLC
 
Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...
Minitab, LLC
 
Minitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulationMinitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulation
Minitab, LLC
 
Concrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab ConnectConcrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab Connect
Minitab, LLC
 
En route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions MinitabEn route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions Minitab
Minitab, LLC
 
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Minitab, LLC
 
La puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiersLa puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiers
Minitab, LLC
 
Strukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzungStrukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzung
Minitab, LLC
 
Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...
Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...
Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...
Minitab, LLC
 
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...
Minitab, LLC
 
Visualizations that make an impact - see what s new in minitab statistical s...
Visualizations that make an impact  - see what s new in minitab statistical s...Visualizations that make an impact  - see what s new in minitab statistical s...
Visualizations that make an impact - see what s new in minitab statistical s...
Minitab, LLC
 
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Minitab, LLC
 
Statistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stagesStatistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stages
Minitab, LLC
 
Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...
Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...
Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...
Minitab, LLC
 
Machine Learning with Classification & Regression Trees - APAC
Machine Learning with Classification & Regression Trees - APAC Machine Learning with Classification & Regression Trees - APAC
Machine Learning with Classification & Regression Trees - APAC
Minitab, LLC
 
Machine Learning with Binary Logistic Regression - APAC
Machine Learning with Binary Logistic Regression - APACMachine Learning with Binary Logistic Regression - APAC
Machine Learning with Binary Logistic Regression - APAC
Minitab, LLC
 
Machine Learning with Multiple Regression - APAC
Machine Learning with Multiple Regression - APACMachine Learning with Multiple Regression - APAC
Machine Learning with Multiple Regression - APAC
Minitab, LLC
 
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Minitab, LLC
 
L'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des donnéesL'art de la visualisation pour une meilleure compréhension des données
L'art de la visualisation pour une meilleure compréhension des données
Minitab, LLC
 
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Pilotez le développement de vos produits et de vos procédés avec Minitab et M...
Minitab, LLC
 
Introducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You ForwardIntroducing Graph Builder: Visualizations Built to Move You Forward
Introducing Graph Builder: Visualizations Built to Move You Forward
Minitab, LLC
 
Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...Les solutions Minitab pour développer vos produits selon les réglementations ...
Les solutions Minitab pour développer vos produits selon les réglementations ...
Minitab, LLC
 
Minitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulationMinitab webinar presentation See the unknown with monte carlo simulation
Minitab webinar presentation See the unknown with monte carlo simulation
Minitab, LLC
 
Concrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab ConnectConcrétisez votre transformation digitale avec Minitab et Minitab Connect
Concrétisez votre transformation digitale avec Minitab et Minitab Connect
Minitab, LLC
 
En route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions MinitabEn route vers l'excellence avec les solutions Minitab
En route vers l'excellence avec les solutions Minitab
Minitab, LLC
 
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Meet Minitab Engage Your End-to-End Improvement Solution From Idea Generation...
Minitab, LLC
 
La puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiersLa puissance du machine learning et des algorithmes cart au service des métiers
La puissance du machine learning et des algorithmes cart au service des métiers
Minitab, LLC
 
Strukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzungStrukturierte problemloesung mit datenunterstuetzung
Strukturierte problemloesung mit datenunterstuetzung
Minitab, LLC
 
Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...
Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...
Tips & Tricks for CART (Classification and Regression Trees) in Minitab Stati...
Minitab, LLC
 
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...Visualizaciones que crean impacto:  Vea las novedades de Minitab Statistical ...
Visualizaciones que crean impacto: Vea las novedades de Minitab Statistical ...
Minitab, LLC
 
Visualizations that make an impact - see what s new in minitab statistical s...
Visualizations that make an impact  - see what s new in minitab statistical s...Visualizations that make an impact  - see what s new in minitab statistical s...
Visualizations that make an impact - see what s new in minitab statistical s...
Minitab, LLC
 
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Powerful Statistical Tools in the Pharmaceutical and Medical Devices Industry...
Minitab, LLC
 
Statistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stagesStatistical solutions to help you with 5 FDA medical devices stages
Statistical solutions to help you with 5 FDA medical devices stages
Minitab, LLC
 
Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...
Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...
Maximize Efficiency with Minitab Workspace and Minitab Statistical Software -...
Minitab, LLC
 
Machine Learning with Classification & Regression Trees - APAC
Machine Learning with Classification & Regression Trees - APAC Machine Learning with Classification & Regression Trees - APAC
Machine Learning with Classification & Regression Trees - APAC
Minitab, LLC
 
Machine Learning with Binary Logistic Regression - APAC
Machine Learning with Binary Logistic Regression - APACMachine Learning with Binary Logistic Regression - APAC
Machine Learning with Binary Logistic Regression - APAC
Minitab, LLC
 
Machine Learning with Multiple Regression - APAC
Machine Learning with Multiple Regression - APACMachine Learning with Multiple Regression - APAC
Machine Learning with Multiple Regression - APAC
Minitab, LLC
 
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Einführung in den Minitab Workspace_Visuelle Toolkit zur Verbesserung Ihrer A...
Minitab, LLC
 
Ad

Recently uploaded (20)

Odoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education ProcessOdoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education Process
iVenture Team LLP
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game DevelopmentBest Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Juego Studios
 
Top 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdfTop 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdf
AffinityCore
 
The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Foundation Models for Time Series : A Survey
Foundation Models for Time Series : A SurveyFoundation Models for Time Series : A Survey
Foundation Models for Time Series : A Survey
jayanthkalyanam1
 
Tools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google CertificateTools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google Certificate
VICTOR MAESTRE RAMIREZ
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
Lionel Briand
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Odoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education ProcessOdoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education Process
iVenture Team LLP
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
How can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptxHow can one start with crypto wallet development.pptx
How can one start with crypto wallet development.pptx
laravinson24
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game DevelopmentBest Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Juego Studios
 
Top 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdfTop 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdf
AffinityCore
 
The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Foundation Models for Time Series : A Survey
Foundation Models for Time Series : A SurveyFoundation Models for Time Series : A Survey
Foundation Models for Time Series : A Survey
jayanthkalyanam1
 
Tools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google CertificateTools of the Trade: Linux and SQL - Google Certificate
Tools of the Trade: Linux and SQL - Google Certificate
VICTOR MAESTRE RAMIREZ
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
Lionel Briand
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 

Unleashing the Power of Python Using the New Minitab/Python Integration Module Webinar Presentation

  • 1. © 2020 Minitab, LLC. Welcome! In a few minutes we will begin the webinar. AUDIO WEB: Please make sure you have your computer audio system activated and your speakers turned up. QUESTIONS: Please write your questions in the questions pane at any time. Mikhail Golovnya Sr. Advisory Data Scientist Abbie Wong Regional Marketing ManagerUnleashing the Power of Python Using the New Minitab/Python Integration Module
  • 2. © 2020 Minitab, LLC. Unleashing the Power of Python Using the New Minitab/Python Integration Module
  • 3. © 2020 Minitab, LLC. • 20+ years of experience • Masters in Rocket Science • Masters in Statistical Computing Meet the Presenter: Mikhail Golovnya Senior Advisory Data Scientist
  • 4. © 2020 Minitab, LLC. Why Python? ► Python is the main working environment of a vibrant community of data scientists centered around open source philosophy ► Python provides a convenient scripting language to accommodate different data processing tasks ► Python offers huge diversity of various packages to serve the ever growing needs of data scientists ► But, implementing all data analysis steps in Python is not for everyone  You have to be a programmer  You have to figure things out  You have to cope with possible errors ► Python/Minitab connector allows you to preserve the simplicity and user conveniences of Minitab while getting access to the unique extensions offered on the Python side! 4
  • 5. © 2020 Minitab, LLC. Installing Python/Minitab Connector ► You need to install the latest version of Python 3  We recommend Anaconda distribution available here https://www.anaconda.com/products/individual  The easiest option is to add Python to the system Path variable during the Python installation (you can ignore more elaborate options like Anaconda Navigator, etc.) ► You need to make sure that Python is visible  Use the following commands to check that this is the case and that you have the right version of Python python –V python –version ► Install “mtbpy” package using the wheel file (a binary file) supplied by Minitab  The easiest way is to use the following command pip install mtbpy-1.0.0rc1-py3-none-any.whl here mtbpy-1.0.0rc1-py3-none-any.whl is the wheel file 5
  • 6. © 2020 Minitab, LLC. Testing Python/Minitab Connector ► Use File – Options: General menu to indicate the Default file location ► Place the supplied “test.py” script in the default location ► Execute the PYSC command in Minitab Command Line ► Confirm that Minitab sees Python 6
  • 7. © 2020 Minitab, LLC. Passing Constants Around # Loading MTB connector from mtbpy import mtbpy # Receive constants from MTB side K1 = mtbpy.mtb_instance().get_constant("K1") K2 = mtbpy.mtb_instance().get_constant("K2") # Write messages back to MTB mtbpy.mtb_instance().add_message("Received K1: " + str(K1)) mtbpy.mtb_instance().add_message("Received K2: " + K2) 7 Minitab Python
  • 8. © 2020 Minitab, LLC. Passing Columns Around ► # Loading MTB connector ► from mtbpy import mtbpy ► # Receive columns from MTB side as Python lists ► var1 = mtbpy.mtb_instance().get_constant("K1") ► var2 = mtbpy.mtb_instance().get_constant("K2") ► list1 = mtbpy.mtb_instance().get_column(var1) ► list2 = mtbpy.mtb_instance().get_column(var2) ► # Write messages back to MTB ► mtbpy.mtb_instance().add_message("Received " + str(var1) + ": " + ", ".join([str(i) for i in list1])) ► mtbpy.mtb_instance().add_message("Received " + str(var2) + ": " + ", ".join([str(i) for i in list2])) 8 Minitab Python
  • 9. © 2020 Minitab, LLC. Manipulating Datasets ► # Loading libraries ► import pandas as pd ► from mtbpy import mtbpy ► # Receive parameters from Minitab and user feedback ► … ► # Loading dataset for analysis ► dataset = pd.read_csv(input_file) ► # Creating a new variable ► dataset[new_var] = dataset[var]*multiplier ► # Saving new dataset ► dataset.to_csv(output_file, index = False, header=True) ► # Writing message to MTB ► mtbpy.mtb_instance().add_message("Finished processing.") 9 Minitab Python
  • 10. © 2020 Minitab, LLC. Inserting Images ► # Loading MTB connector ► from mtbpy import mtbpy ► # Transfering parameters from MTB ► input_file = mtbpy.mtb_instance().get_constant("K1") ► # User feedback ► mtbpy.mtb_instance().add_message("Input dataset: " + input_file) ► # Send the png file to the Minitab output ► mtbpy.mtb_instance().add_image(input_file) 10 Minitab Python
  • 11. © 2020 Minitab, LLC. Inserting Tables ► # Loading MTB connector ► from mtbpy import mtbpy ► # Initialize the arrays ► words = ['one', 'two', 'three', 'four'] ► freqs = [10, 20, 30, 40] ► # Send the table to the Minitab output ► mtbpy.mtb_instance().add_table(columns=[words, freqs], headers=["Word", "Frequency"], title="Simple Table", footnote="Footnote here") 11 Minitab Python
  • 12. © 2020 Minitab, LLC. Explore and Have Fun! ► from wordcloud import WordCloud, STOPWORDS ► import numpy as np ► from PIL import Image ► from mtbpy import mtbpy ► # Generate word cloud ► nWords = 150 ► dataset = open("coffee_reviews.txt", "r", encoding="utf8").read() ► dataset = dataset.lower() ► maskArray = np.array(Image.open("cloud.png")) ► cloud = WordCloud(background_color = "white", max_words = nWords, mask = maskArray, stopwords = set(STOPWORDS)) ► cloud.generate(dataset) ► cloud.to_file("word_cloud.png") ► mtbpy.mtb_instance().add_image("word_cloud.png") 12 Minitab Python
  • 13. © 2020 Minitab, LLC. Explore and Have Fun! ► … ► # Initialize the arrays to store words and their frequencies ► words = [] ► freqs = [] ► # Loop to count the words in the word cloud frequency dictionary ► for word in cloud.words_: words.append(word) freqs.append(cloud.words_[word]) ► # Send the table to the Minitab output ► mtbpy.mtb_instance().add_table(columns=[words, freqs], headers=["Word", "Frequency"], title="Word Cloud Data", footnote="{0} rows are in this table".format(nWords)) 13 Minitab Python
  • 14. © 2020 Minitab, LLC. Questions?
  • 15. © 2020 Minitab, LLC. Upcoming Webinars Machine Learning Series A three-part series where we explore multiple regression, binary logistic regression and Classification and Regression Trees (Cart ®) in Minitab. Dates Wednesday 17 June Tuesday 30 June Wednesday 15 July Time 12pm AEST (10am HKT/ 2pm NZST) Get the details here https://hubs.ly/H0r5TZw0
  • 16. © 2020 Minitab, LLC. Upcoming Training Virtual Training Take our Minitab Signature Trainings virtually now from anywhere and learn directly from our expert statisticians. Upcoming training include: • Predictive Analytics: Machine Learning: June 18-19 See all the details at: https://hubs.ly/H0r5XRL0
  • 17. © 2020 Minitab, LLC. Our Approach: More Than Business Analytics… Solutions Analytics Software Services Training Learn first-hand by attending public or customized trainings in your facilities according to your requirements. Statistical Consulting Personalized help with statistical challenges from collecting the right data to interpreting analysis more. Support Assistance with installation, implementation, version updates and license management. Master statistics and Minitab anywhere with online training Machine learning and predictive analytics software Start, track, manage and execute improvement projects with real-time dashboards Powerful statistical software everyone can use. Data Analysis Predictive Modeling Visual Business Tools Project Oversight Visual tools to process and product excellence. Online Training Solutions analytics is our integrated approach to providing software and services that enable organizations to make better decisions that drive business excellence.
  • 18. © 2020 Minitab, LLC. Thank you