Seven of the ten costliest cities in a recent national ranking were in California.