Data Science, Python, Matlab, Linear Algebra, Visualization.
eventually get used to the following syntax: A = np.matrix([[1,1,1],[2,4,6],[5,7,6]]) Now that we have defined our matrix, we can first get the (0,0) value: A[0,0] Output: 1 Next, we can only get the first column: A[:,0] Output: [[1] [2] [5]] Finally, just the first row: A[0,:] Output: [[1 1 1]]