Added example with a DataFrame, and PDF output