Answers for "average lists in python even if different lengths"

0

average of two lists python

>>> import numpy as np
>>> data = np.array([[1, 2, 3], [5, 6, 7]])
>>> np.average(data, axis=0)
array([ 3.,  4.,  5.])
Posted by: Guest on October-25-2021

Code answers related to "average lists in python even if different lengths"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language