Harika22 commited on
Commit
746f988
·
verified ·
1 Parent(s): 6874943

Update pages/4_Levels of Measurement.py

Browse files
Files changed (1) hide show
  1. pages/4_Levels of Measurement.py +7 -2
pages/4_Levels of Measurement.py CHANGED
@@ -35,8 +35,13 @@ Measures of central tendency performed are Frequency, mode, median(only for odd
35
  Mathematical operations performed are ** ==, !=, >, < **'''
36
  st.markdown(multi)
37
  df = pd.DataFrame(
38
- np.random.randn(4, 2))
39
- st.table(df)
 
 
 
 
 
40
  st.subheader("3.Interval",divider="red")
41
  multi = '''Interval data is numeric and have equal intervals between values.
42
  They do not have a true zero point - zero doesn't indicate the absence of the measured quantity.
 
35
  Mathematical operations performed are ** ==, !=, >, < **'''
36
  st.markdown(multi)
37
  df = pd.DataFrame(
38
+ [
39
+ {"Type of data": "nominal", "Mathematical operations": ==, != "Measures of Central Tendency": "Mode"},
40
+ {"command": "st.balloons", "rating": 5, "is_widget": False},
41
+ {"command": "st.time_input", "rating": 3, "is_widget": True},
42
+ ]
43
+ )
44
+ edited_df = st.data_editor(df)
45
  st.subheader("3.Interval",divider="red")
46
  multi = '''Interval data is numeric and have equal intervals between values.
47
  They do not have a true zero point - zero doesn't indicate the absence of the measured quantity.