Answer below
Question Description
Using a new Jupyter notebook, create a 100 x 100 times table matrix using the following three methods. Use the timeit function to measure the execution time of each method.
- Nested for loops
- Numpy fromfunction
- Numpy broadcasting
Copy a slice of your matrix using the first 12 numbers to create a new 12 x 12 times table matrix. Perform the following tasks with this new matrix:
- Save the array to a file.
- Use one of the unary ufuncs (Table 4-3, McKinney, 2017, p.109).
- Use two of the basic array statistical methods (Table 4-5, McKinney, 2017, p.114).
- Load the array file saved in step 4.
Capture as many screenshots as necessary to demonstrate successful completion of all the above tasks. One screenshot can be used to demonstrate more than one task. Ensure the code is large enough in the screenshots to be readable in your Word document submission.
All code must be explained in the narrative of your paper.
Submit one Word document with your screenshots demonstrating successful completion of the above items. In addition to the screenshots, include a description of lessons you learned from this exercise.
Your paper should be 2-3 pages in length, not including the title and reference pages, and conform to the CSU Global Writing Center (Links to an external site.). Support your lessons learned with at least two scholarly references in addition to the course textbook. The CSU Global Library (Links to an external site.) is a good place to find these references
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."