summaryrefslogtreecommitdiffstats
path: root/fiz/vaje/6/boy.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xfiz/vaje/6/boy.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/fiz/vaje/6/boy.py b/fiz/vaje/6/boy.py
new file mode 100755
index 0000000..928339c
--- /dev/null
+++ b/fiz/vaje/6/boy.py
@@ -0,0 +1,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");