def encode4(Education):
        
        """
        This function encodes a loan status to either 1 or 0.
        """
        if Education == 'Graduate':
            return 1
        else:
            return 0