def METHOD_NAME(self):
    complex_range = NumberRange(1, 5, num_type=complex, range_type="range")
    complex_range.transform()
    str_range = NumberRange(1, 2, num_type=np.bool_, range_type="range")
    str_range.transform()