Swap order of test for int and float
Swap order of test for int and float

Every int is also a float, so checking for float first means we never
create any integers.

nteract/papermill,nteract/papermill