Those are for small pins such as ICs, or special turned-pin headers - they will not take standard square pins.
If you have a board that does not yet have the pins fitted, you could use the matching pin strips in it, such as Harwin D01 series.
The larger diameter end fits the PCB, the smaller pins fit the socket strips:
Order today, ships today. D01-9923246 – 32 Position SIP, SIL - Header Connector Male Pin Tin from Harwin Inc.. Pricing and Availability on millions of electronic components from Digi-Key Electronics.