Spaces:
Runtime error
Runtime error
| # Author: Ricardo Lisboa Santos | |
| # Creation date: 2024-01-10 | |
| import streamlit as st | |
| import pandas as pd | |
| import numpy as np | |
| def main(): | |
| st.title('Home Page') | |
| st.write('This is a random dataframe. Don\'t worry about it.') | |
| dataframe = pd.DataFrame( | |
| np.random.randn(10, 20), | |
| columns=('col %d' % i for i in range(20)) | |
| ) | |
| st.dataframe(dataframe.style.highlight_max(axis=0)) | |
| if __name__ == '__main__': | |
| main() |