blob: 1c6859e17f21fd5d867916a7c44c3b50c7974700 (
plain) (
tree)
|
|
#!/usr/bin/python3
import pandas
import math
import sys
m=pandas.read_csv("meritev.tsv", sep='\t')
m.index.name = "idx"
m["t"] = (m["t10"]/10)
m["centripetalni"] = (4*math.pi**2*m["r"]/m["t"]**2)
m["tt"] = (m["t"]**2)
print("sredina:", file=sys.stderr)
print(m.mean(), file=sys.stderr)
print("standardna deviacija", file=sys.stderr)
print(m.std(), file=sys.stderr)
m.to_csv("/dev/stdout", sep="\t")
|