Upload app_display_text.py
Browse files- 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'})
|