Added optional header argument to dataframe class