([6.7],[3]) ([1,4,5,6.7,nan],[2.3,5,1,3,inf])