Question: Q 3 : module data _ analysis.py ( 5 pts ) Now, we'll move your functions from Q 1 and Q 2 into our data

Q3: module data_analysis.py (5 pts)
Now, we'll move your functions from Q1 and Q2 into our data_analysis module and get that module all ready to go!
data_analysis.py has two import statements at the top and a single function generate_plot. The code in generate_plot functions; however, you'll notice that it does not have any code comments or documentation. You'll fix that in just a second!
To make this module more complete and polished, carry out the following steps:
Copy the read_data and calculate_stats functions from Q1 and Q2(respectively) into the data_analysis module (the module will have three functions total, including generate_plot)
Edit all three functions for Code Style, as discussed in class
Add helpful code comments throughout all three functions
Add numpy style docs to all three functions, as discussed in class
Note: Nothing has to be done in the notebook for this question. Everything will happen in data_analysis.py
Q 3 : module data _ analysis.py ( 5 pts ) Now,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!