Task 4: Amazon wants to find out the most and the least bought items. It likes to increase the sale of least bought item by bundling it with the mos bought item and ready to give special 10% discount for this bundle. The output should be the one as below. In [30]: 1 from IPython.display import Image 2 Image(filename = 'Screenshot_67.jpg") out[30]: Nest bought Iten is StockCode 21731 with 458 in purchased quantity. Least bought iten is StockCode 21165 wdth 1 in purchased quantity overall.These tvo itens can be bundled and previde 1e discou nt on this bundle to increase the sale of Stackcode 21166 In [ ]: 1 #HOw to get the Nost bought items in the stockCode and how many was it in pythor

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Task 4: Amazon wants to find out the most and the least bought items. It likes to increase the sale of least bought item by bundling it with the most
bought item and ready to give special 10% discount for this bundle. The output should be the one as below.
In [30]:
1 from IPython.display import Image
2 Image(filename = 'screenshot_67.jpg')
Out [30]:
Most bought iten is StockCode 21731 with 458 in purchased quantity.
Least bought iten is StockCode 21166 wáth 1 in purchased quantity overall.These two itens can be bundled and provide 18es discou
nt on this bundle to increase the sale of Stockcode 21166
In [ ):
1 #HOw to get the Most bought items in the stockCode and how many was it in pythor
2 #HOw to get the Least bought items in the stockcode in python
Transcribed Image Text:Task 4: Amazon wants to find out the most and the least bought items. It likes to increase the sale of least bought item by bundling it with the most bought item and ready to give special 10% discount for this bundle. The output should be the one as below. In [30]: 1 from IPython.display import Image 2 Image(filename = 'screenshot_67.jpg') Out [30]: Most bought iten is StockCode 21731 with 458 in purchased quantity. Least bought iten is StockCode 21166 wáth 1 in purchased quantity overall.These two itens can be bundled and provide 18es discou nt on this bundle to increase the sale of Stockcode 21166 In [ ): 1 #HOw to get the Most bought items in the stockCode and how many was it in pythor 2 #HOw to get the Least bought items in the stockcode in python
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Graphical User Interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education