acarz commited on
Commit
d7805a8
·
verified ·
1 Parent(s): 2a2a4db

Upload app_display_text.py

Browse files
Files changed (1) hide show
  1. app_display_text.py +8 -0
app_display_text.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pandas as pd
3
+ df=pd.read_csv('data/iris.csv')
4
+ df
5
+ # method 1
6
+ st.table(df.head())
7
+ st.dataframe(df.head().style.highlight_max(axis=0))
8
+ st.json({'data':'Zafer'})