add refined NaN handling, choices NAN_OMIT_ROW, NAN_TO_ZERO