Bakersfield ranked 87 on WalletHub's "2017's Best & Worst Places to Raise a Family."
WalletHub listed 150 places nationwide, one being the best and 150 being the worst.
Source: WalletHub
The analysts compared the 150 most populated cities in the country and considered things like cost of housing, quality of local education, health-care, and fun and recreation opportunities.
They examined these things along with 41 metrics that included air and water quality, graduation rates, cost of living and employment rates.