Not supported between int and str. Typeerror: '<' not supported between instances of 'float' and 'nonetype'. '<' not supported between instances of 'str' and 'float'. smooth curve decomposition berretti. typeerror: '>' not supported between instances of 'nonetype' and 'int'.