Remove Header and Footer from Pandas Dataframe print
<p>The following code prints all the values I want but has 
"Date" as the first row and
"Name: Close, Length: 1828, dtype: float64" as the last row </p>

<pre><code>import pandas as pd
from pandas.io.data import DataReader
from datetime import datetime

ibm = DataReader('IBM',  'yahoo', datetime(2009,1,1))
pd.set_option('display.max_rows',len(ibm))
print ibm["Close"]
</code></pre>

<p>How do I print the data w/o this first "Date" line and the last "Name: Close, Length: 1828, dtype:float64" line? Slicing doesn't work, I've tried print ibm["Close"][1:-1] and it just cuts off the 2nd and 2nd to last row.</p>