Harika22 commited on
Commit
ee64895
·
verified ·
1 Parent(s): dac8878

Update pages/6_Semi_structured_data.py

Browse files
Files changed (1) hide show
  1. pages/6_Semi_structured_data.py +9 -0
pages/6_Semi_structured_data.py CHANGED
@@ -404,6 +404,15 @@ elif file_type == "JSON":
404
  st.markdown('''
405
  - **max_level** gives how much deeper it takes to take the values of column
406
  ''')
 
 
 
 
 
 
 
 
 
407
 
408
  st.subheader("Using record_path and meta...")
409
  st.code('''import pandas as pd
 
404
  st.markdown('''
405
  - **max_level** gives how much deeper it takes to take the values of column
406
  ''')
407
+ st.markdown('''
408
+ - Output will be:
409
+ ''')
410
+ st.markdown('''
411
+ | name | age | marks.sem1 | marks.sem2 |
412
+ |-------|-----|------------------------------|------------------------------|
413
+ | harii | 23 | {'hindi': 10, 'science': 39} | {'hindi': 12, 'science': 32} |
414
+
415
+ ''')
416
 
417
  st.subheader("Using record_path and meta...")
418
  st.code('''import pandas as pd