Display pandas dataframe table in fancy colors.
pip install fancytable
Basic usage:
import fancytable as ft
data = pd.DataFrame(np.random.randn(5, 10))
ft.display(data)
Filter only topk or bottomk:
ft.display(data, topk=1)
In row based:
ft.display(data, topk=1, axis=1)