47f28946f6
So in: $ ./scripts/csv.py input.csv -fa='b?c:d' c and d must have matching types or else an error is raised. This requires an explicit definition for the ternary operator since it's a special case in that the type of b does not matter. Compare to a 3-arg max call: $ ./scripts/csv.py input.csv -fa='int(b)?float(c):float(d)' # ok $ ./scripts/csv.py input.csv -fa='max(int(b),float(c),float(d))' # error