Python | NumPy Mean and Average

Опубликовано: 28 Июнь 2019
на канале: Dan Leeman
11,164
118

The NumPy mean and average functions are used to calculate the arithmetic mean across the flattened array or a specified axis. These two functions are equivalent except the average function takes an optional weight argument which is not available in the mean function.