Modify the label of a predefined property Python I'm using the location property as shown below but I wonder how I can change the label of it to be "New Location" instead of "Location"?

ob = bpy.data.objects['Rock']    
row = layout.row()
row.column().prop(ob, "location")


This is what appears:
You just have to add in the text argument when adding the property, e.g.:

row.column().prop(ob, "location", text="New Location")


This overrides the default label. You can see the additional options for UI properties in the API documentation.