Максимальное отклонение в пандах
def max_deviation(s):
std_score = (s - s.mean()) / s.std()
return std_score.abs().max()
icy_milktea27
def max_deviation(s):
std_score = (s - s.mean()) / s.std()
return std_score.abs().max()