INNER CODE UNIT · Python

table

neuml/tldrstory · src/python/tldrstory/app.py:156

    def table(df):
        """
        Renders query results.

        Args:
            df: dataframe
        """

        st.write(df.to_html(escape=False, index=False), unsafe_allow_html=True)

    @staticmethod
    def link(url, name):
        """
        Renders a hyperlink.

        Args:
            url: url
            name: text to show

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…