Nice Python idiom for replacing missing values in a data iterable
missing = -999 filled_data = [(x, missing)[x is ''] for x in raw_data]