Did Home Prices in Morgan Hill CA Rise in 2016?

Mikaela Rojas | Rojas Realty

Hello!

I’m Mikaela Rojas!


Thank you for choosing me as your South Bay Realtor! Let's take a
a look at Morgan Hill CA Home Prices & Home Values for the year 2016.
In [4]:
import pandas as pd
import matplotlib.pyplot as plt # only needed for advanced plotting
plt.style.use('ggplot')
%matplotlib inline
In [11]:
# grab Zillow data
# Morgan Hill,CA,San Jose,Santa Clara|01424
df = pd.read_csv('http://www.quandl.com/api/v3/datasets/ZILL/C01424_A.csv')
df.head();
In [6]:
# convert to date format
df['Date'] = pd.to_datetime(df['Date'])
In [7]:
# rename columns
df.columns = ['Date','Price']
In [8]:
# set Date to be the index
df = df.set_index('Date')

Prices have been steadily climbing since July of last year.

In [9]:
df['2016'].sort_index().plot(figsize=(15,5));

Morgan Hill CA Realtor: ROJAS REALTY


the information came from quandl and Zillow

In [5]:
from IPython.display import HTML

HTML('''<script>
code_show=true; 
function code_toggle() {
 if (code_show){
 $('div.input').hide();
 } else {
 $('div.input').show();
 }
 code_show = !code_show
} 
$( document ).ready(code_toggle);
</script>
<form action="javascript:code_toggle()"><input type="submit" class="btn btn-info btn-xs" value="Click here to toggle on/off the raw code"></form>''')
Out[5]: