statapp/statapp/calculations.py

10 lines
183 B
Python

from typing import Any
import numpy as np
def variance_analysis(data):
return np.array([
[np.mean(col), np.std(col), np.min(col), np.max(col)] for col in data.T
])