- 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]
1 Réponse
0
https://www.sololearn.com/Discuss/2348389/data-science-average-of-rows-code-coach
You can check over here!!