def run(args):
    data = pd.read_csv(sys.stdin)
    pivot = pd.pivot_table(data, values='rank', index='Cluster ID', columns=['day'], fill_value=args.notfound_value, aggfunc=np.sum)
    pivot.to_csv(sys.stdout)
def run(args):
    data = pd.read_csv(sys.stdin)
    pivot = pd.pivot_table(data, values='rank', index='Cluster ID', columns=['day'], fill_value=args.notfound_value, aggfunc=np.sum)
    pivot.to_csv(sys.stdout)