Awesome, you are a quick learner , now let's do some more task to hone your skills of numpy basics.
- Calculates the number of values that will be stored in an array of these dimensions. Let's call the count N.
- Create an array of numbers from 0 to N-1 (total N elements)
- Reshape this array into the desired dimensions
- Return the array
This function takes in no parameters
Return | dtype | description |
---|---|---|
variable | numpy.ndarray | An array of dimensions (3,3,3) |