What is the Going Trend in the Rental Market - Morgan Hill CA?

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 Rental Prices for the year so far.
In [1]:
import pandas as pd
import matplotlib.pyplot as plt # only needed for advanced plotting
plt.style.use('ggplot')
%matplotlib inline
In [2]:
# grab Zillow data
# Morgan Hill,CA,San Jose,Santa Clara|01424
# RAH = Estimated Rent, All Homes in Region
df = pd.read_csv('http://www.quandl.com/api/v3/datasets/ZILL/C01424_RAH.csv')
df.head();
In [3]:
# convert to date format
df['Date'] = pd.to_datetime(df['Date'])
In [4]:
# rename columns
df.columns = ['Date','Rent']
In [5]:
# set Date to be the index
df = df.set_index('Date')

What was the Highest Estimated Rental Price?

It was August 2016!

In [6]:
df[df['Rent'] == df.values.max()]
Out[6]:
Rent
Date
2016-08-31 3431.0

Prices dropped as we reached the end of 2016, but they are starting to climb back up in 2017.

In [7]:
mask = df.index >= pd.to_datetime('1/1/2016')
df[mask].sort_index().plot(figsize=(15,5));

Morgan Hill CA Realtor: ROJAS REALTY


the information came from quandl and Zillow

In [8]:
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[8]: