Answers for "create a 2d numpy array of zeros"

11

declare numpy zeros matrix python

import numpy as np
dimensions = (3, 3)
np.zeros(dimensions) # 3x3 zeros matrix
Posted by: Guest on August-30-2020
1

python 2d array with zeros

a = [[0]*10]*10
Posted by: Guest on July-18-2021

Code answers related to "create a 2d numpy array of zeros"

Python Answers by Framework

Browse Popular Code Answers by Language