Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Develope python 3.6 program please do two parts Part A: Data Processing Given a data file, find the max, min, and average values of columns.
Develope python 3.6 program
please do two parts
Part A: Data Processing Given a data file, find the max, min, and average values of columns. Also, create an addition column that is based on the other columns. There will be no error checking required for this lab. You are provided with a data file named (surprise!) data .txt. Data is arranged in columns where each item of data is twelve columns wide (so it is easy to extract data items using slicing) Height (m) Weight (kg) Name 1.82 72.57 Joe 1.60 63.50 Mary Dion 1.90 90.71 66.31 Kayla 1.72 Jose 1.78 70.23 Sofia 1.63 65 Erik 92.21 1.98 57 65.77 Sara Your task is read the file data.txt and calculate the max, min, and average of the height and weight columns and to add an additional column that has the BMI calculated based on each height and weight. Your output will look like this (and needs to be formatted like this). To match the testing on Mirmir here is the format string: (: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