Reading a PDS4 .DAT file into a Pandas DataFrame

The pds4_tools by the Small Bodies Node does a good job of reading PDS4 standard data formats into Python, but sometimes outputs the data into bespoke formats. I made a little helper function to return the contents of a .DAT file in a Pandas DataFrame. There is an example Notebook here.