Spaces:
Sleeping
Sleeping
Commit ·
b32df0d
1
Parent(s): 7b5faa8
Update eda.py
Browse files
eda.py
CHANGED
|
@@ -13,7 +13,7 @@ def run():
|
|
| 13 |
horizontal_radio_css = """<style>div.row-widget.stRadio > div{flex-direction:row;}</style>"""
|
| 14 |
st.markdown(horizontal_radio_css, unsafe_allow_html=True)
|
| 15 |
data_show = st.radio("**Viewing Options**", ['Top 10 Entries', 'Bottom 10 Entries'])
|
| 16 |
-
if
|
| 17 |
st.table(df.head(10))
|
| 18 |
else:
|
| 19 |
st.table(df.tail(10))
|
|
|
|
| 13 |
horizontal_radio_css = """<style>div.row-widget.stRadio > div{flex-direction:row;}</style>"""
|
| 14 |
st.markdown(horizontal_radio_css, unsafe_allow_html=True)
|
| 15 |
data_show = st.radio("**Viewing Options**", ['Top 10 Entries', 'Bottom 10 Entries'])
|
| 16 |
+
if data_show == 'Top 10 Entries':
|
| 17 |
st.table(df.head(10))
|
| 18 |
else:
|
| 19 |
st.table(df.tail(10))
|