Skip to content

Files

Latest commit

Mar 7, 2018
b019dc8 · Mar 7, 2018

History

History

q01_zeros_array

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 7, 2018
Dec 15, 2017
Dec 1, 2017
Sep 27, 2017
Oct 1, 2017
Oct 1, 2017
Oct 1, 2017
Oct 1, 2017

Create a numpy array of all zeros, with dimensions (3,4,2)

Let's start with a warm up task.

Write a function array_zeros that :

  • Will create a variable named as zeros_array with numpy array of dimensions (3, 4, 2)
  • Assigns that variable with numpy array of all zeros.

Parameters:

This function takes in no parameters

Returns:

Return dtype description
variable zeros_array numpy.ndarray An array of dimensions (3,4,2)