Python Preprocess Function Does Not Take 1