File size: 279 Bytes
dd0ef30
9c1ffe9
 
 
dd0ef30
9c1ffe9
dd0ef30
9c1ffe9
 
 
dd0ef30
 
9c1ffe9
dd0ef30
 
9c1ffe9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import numpy as np
import pandas as pd
import streamlit as st


@st.cache_data
def load_data():
    df = pd.DataFrame(
        np.random.randn(10, 20), columns=("col %d" % i for i in range(20))
    )
    return df


df = load_data()

st.dataframe(df.style.highlight_max(axis=0))