blob: eba035ef28a18c14db1b935750cb0bccdbe99626 (
plain) (
tree)
|
|
#!/usr/bin/python3
import pandas
import sys
import math
b=pandas.read_csv("/dev/stdin", sep="\t")
b.index.name = "idx"
b["sila"] = (9.81*b["m"]/1000)
b["lambda"] = (2*b["pollamb"])
b = b.astype(float).round(6);
b.to_csv("/dev/stdout", sep=sys.argv[1][0]);
|