NumPy

Overview

Due:
11:00pm, Friday October 16, 2020
Max grace days:
2

The purpose of this assignment is to manipulate NumPy arrays.

Description

Complete the code in main.py to perform computations on the dataset described here: https://vincentarelbundock.github.io/Rdatasets/doc/DAAG/toycars.html You must only use NumPy array operations to implement your solution. That is, you must not use any loops or conditional statements in your solution. The assignment material contains a file named reference.txt which contains the correct output for the program.

Turning in the Assignment

You must turn in a file named main.py. Submit the program source file to the appropriate folder on D2L.

Grading Criteria

Note: If your code does not run on the Python 3 interpreter, then you will receive a failing grade for this assignment.

Grading (out of 100 points):