- 1

Data Science - Average of Rows

Task Given a 2D array, return the rowmeans. Input Format First line: two integers separated by spaces, the first indicates the rows of matrix X (n) and the second indicates the columns of X (p) Next n lines: values of the row in X Output Format An numpy 1d array of values rounded to the second decimal. 2 2 1.5 1 2 2.9 Sample Output [1.25 2.45]

11th Nov 2021, 8:35 AM
Zaid Zren
Zaid Zren - avatar
1 Respuesta
1st Dec 2021, 6:44 PM
Pavan Kumar Reddy Bhavanam
Pavan Kumar Reddy Bhavanam - avatar