'Attempt to convert pandas.NaT'

@staticmethod
def encode_as_pandas(obj):

    if (not pandas):
        raise NotEncodable
    if (obj is pandas.NaT):
        return None
    else:
        raise NotEncodable
