Pandas DataFrame and minor change to Series Notebook