Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTIONS A - The program provides the program design for a market, depending on the user's choice. Categories consist of Food, Cleaning and Fruits /
QUESTIONS
A The program provides the program design for a market, depending on the user's choice. Categories consist of Food, Cleaning and FruitsVegetables Determine the stock quantity and price of products for each category. Calculate the payment of the products to be purchased by the customer and the remaining stock quantities using methods. Use methods with and without parameters, with and without return values. You can design the program as you wish.
Example output:
Food
Cleaning Material
FruitVegetable
Payment
Exit
B Write the answers to the following questions.
Create a x matrix with values from to
Create a DataFrame that generates x random numbers. You can give the column and index names as you wish.
Arrnparraynpnan,npnan, npnan,npnan,npnan
Convert the array of values to DataFrame. Try what can be done about missing values. You can take the average value and write it to the missing values
C Download a dataset on the topic you want from Kaggle, github or any other source
Read the dataset.
List the first data.
Find out how many data there are. Show the number of rows and columns.
Display the number and in the predict column target column
Display data types of all parameters.
Display statistical information about the data set.
Display missing data in dataset.
If there is missing data in the dataset, delete some data and show the solution to the problem
Find the mean of any column of numerical data in the dataset
Find the highest value in any column of numerical data in the dataset
Find the mean value by grouping them according to the column of categorical data.
Find how many different data are in the column consisting of categorical data.
Draw the correlation matrix.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started