A python function for finding missing values in a dataset