Spaces:
Sleeping
Sleeping
Update app2.py
Browse files
app2.py
CHANGED
@@ -23,17 +23,17 @@ def main():
|
|
23 |
st.code("import streamlit as st")
|
24 |
|
25 |
# Display Data
|
26 |
-
|
27 |
-
|
28 |
|
29 |
# Dataframe
|
30 |
-
|
31 |
import pandas as pd
|
32 |
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
|
33 |
st.write(df)
|
34 |
|
35 |
# JSON
|
36 |
-
|
37 |
json_data = {"name": "John", "age": 30, "city": "New York"}
|
38 |
st.write(json_data)
|
39 |
|
@@ -44,7 +44,7 @@ def main():
|
|
44 |
st.write("Checkbox is checked")
|
45 |
|
46 |
# Radio
|
47 |
-
|
48 |
radio = st.radio("Radio", ["Option 1", "Option 2", "Option 3"])
|
49 |
st.write("Selected option:", radio)
|
50 |
|
|
|
23 |
st.code("import streamlit as st")
|
24 |
|
25 |
# Display Data
|
26 |
+
st.header("Write stm :")
|
27 |
+
st.write("This is a write statement")
|
28 |
|
29 |
# Dataframe
|
30 |
+
st.header("Dataframe")
|
31 |
import pandas as pd
|
32 |
df = pd.DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
|
33 |
st.write(df)
|
34 |
|
35 |
# JSON
|
36 |
+
st.header("JSON:")
|
37 |
json_data = {"name": "John", "age": 30, "city": "New York"}
|
38 |
st.write(json_data)
|
39 |
|
|
|
44 |
st.write("Checkbox is checked")
|
45 |
|
46 |
# Radio
|
47 |
+
st.header("Radio:")
|
48 |
radio = st.radio("Radio", ["Option 1", "Option 2", "Option 3"])
|
49 |
st.write("Selected option:", radio)
|
50 |
|