As simple as it is to link a collection with another one just by drag and drop I can't manage to find the way in python.

scene = bpy.context.scene

bpy.data.collections["Collection1"].children.link(bpy.data.collections["Collection2"])