For non floating pins?
A fixture is used in a press. The fixture holds the piston/rod assembly in place and an arbor is inserted into the pin. Arbor is then pushed thru under pressure, forcing the pin thru the rod end and piston pin bore.
To assemble the rod "eye" is heated, the pin is quickly inserted and captured as the rod cools.