Computer Science, asked by prashant244466666, 9 months ago

Write a program in Python to find median and mode of each row of this 2-D matrix. Median and mode of each row should be printed independently.For example, the output should be in the form:Median and mode of row 1 = 10 and 5

Answers

Answered by sp6559568
1

Answer:

Load library import numpy as np # Create a vector as a row vector_row = np ... View sparse matrix print ( matrix_sparse ) (1, 1) ... Select all rows and the second column matrix

Similar questions