def render_df(df, empty_msg='No data'):
    """Render_dataframe in HTML"""
    if df.empty:
        return (
            f"<div class='empty'><p class='empty-title h6'>{empty_msg}</p></div>"
            )
    else:
        table = df.to_html(classes=['table', 'table-striped', 'table-hover',
            'table-scroll'], border=0, index=False, justify='justify-all',
            escape=False)
        return table
