text_html_output_1.png
flat_grouped = flat_price_sorted.groupby(['City_State'])

value_diff = flat_grouped['value'].agg({'value': ['first', 'last']})

value_diff['value']['last'] - value_diff['value']['first']