This question already has an answer here:

I am attempting to write some Python code which creates a blank data frame or group layer which can then be populated with other layers. I'm at a loss as to how to do this since I'm somewhat new to Python coding.

marked as duplicate by PolyGeo Sep 23 '14 at 22:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.