I can't figure out how to get the equivalent of this arcpy.mapping code into arcpy.mp
# Set the CRS values based on the current data frame CRS
# get the map document
mxd = arcpy.mapping.MapDocument("CURRENT")
# get the data frame
df = arcpy.mapping.ListDataFrames(mxd)[0]
sr = df.spatialReference
Can anyone help please?