Started construct_pandas_df, also changed client to pretty-print first, then return either pandas_df if applicable, else pp if pretty=True, else result