341308c
1 2 3 4 5 6 7 8
#!/usr/bin/python3 import pandas import sys import math b=pandas.read_csv("/dev/stdin", sep="\t") b.index.name = "idx" b["iV"] = (1/b["V"]) b.to_csv("/dev/stdout", sep="\t");