data type determiner script - Python MR