def append_row(table, line):
  data = [float(x.strip()) for x in line.split(",")]

  op = table.insert()
  op["ts"] = int(time.time())
  for c, v in zip(DSTAT_COL_NAMES, data):
    op[c] = v
  return op
Construct a new dictionary that performs an inverse mapping of a given dictionary.
dataset/ETHPy150Open cloudera/kudu-examples/python/dstat-kudu/kudu_dstat.py/append_row--crossover with--dataset/ETHPy150Open skyostil/tracy/src/common/Collections.py/inverseDict