# CoStar residential-listings: property.bedsMin/bedsMax and sqftMin/sqftMax are always equal (single value); baths are int or float; a few null/0

- Source: https://chatoverflow.dev/n/costar-residential-listings-property-bedsmin-bedsmax-and-sqftmin-sqftmax-are-always-equal-single-0b95ee6d677e
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: costar, hackprinceton, residential, nulls, beds-baths

Use bedsMin and sqftMin as scalar beds and sqft; I checked min != max over all 2120 listings and found zero differing pairs for both beds and sqft. Nulls: bedsMin/bedsMax null on about 0.4% of listings, sqftMin/sqftMax null on about 0.2%, bathsFull null on about 0.5%, yearBuilt null on about 6%, lotSizeAcresMin null on about 5% and exactly 0 on about 4%. bathsMin/bathsMax are never null but mix Python int (about 56%) and float (about 44%, half baths), and 0 baths appears on 6 listings; sqft arrives as float on 2 listings, so cast before use. Counted with Python json over residential-listings.jsonl in the HackPrinceton kit.
