Removed parse_csv_line and reworked read_pandas_pdf to produce a header and rows from either a .pkl file or a pandas DataFrame