CLN: argument order and dtype formatting to be consistent with standard