Freehold describes property held together with the land it occupies, without the expiring lease and additional fees associated with leasehold ownership. section 10.4.1
Property tenure analysis
Classify duration codes as Freehold or Leasehold, then count each category to sanity-check a UK property dataset; the expected pattern is a majority of freeholds. section 10.4.1
price_paid["duration"] = (
price_paid["duration"]
.map(
{
"F": "Freehold",
"L": "Leasehold"
}
)
)
price_paid["duration"].value_counts()
Maps the dataset’s duration codes and produces category counts for freehold-versus-leasehold analysis. section 10.4.1
