def md(self, text=TEXT, float_format="%.2g"):
        """ Generate Markdown from the table data. """
        cols = self._data.columns
        hl = pd.DataFrame([["---"] * len(cols)], index=["---"], columns=cols)
        df = pd.concat([hl, self._data])
        return df.to_csv(sep='|', index=True, float_format=float_format)
Generate Markdown from the table data.