+ 1
DS with Python - Average of Rows
I cannot load the page for project Average of Rows. Page not found. Error 404. https://www.sololearn.com/learning/eom-project/1093/111
2 Antworten
+ 1
Same experience here, You can solve it on app version instead. Anyway, there's nothing we can do but to mail them for this problem:
E-mail:
info@sololearn.com
Or maybe someone here had the same bug in the past and had fixed it, then please share your story. Thanks!
+ 1
Data Science - the perfect solution for average of rows
n, p = [int(x) for x in input().split()]
import numpy as np
rm = []
for i in range(n):
for a in input().split():
rm.append(float(a))
a = np.array(rm).reshape((n,p))
c = np.mean(a,axis=1)
p = np.around(c,2)
print(p)