Spaces:
Sleeping
Sleeping
Update pages/6_Semi_structured_data.py
Browse files
pages/6_Semi_structured_data.py
CHANGED
|
@@ -314,6 +314,9 @@ elif file_type == "JSON":
|
|
| 314 |
data = pd.read_json(a)
|
| 315 |
ind = data.to_json(orient="index")
|
| 316 |
ind
|
|
|
|
|
|
|
|
|
|
| 317 |
output = '{"0":{"name":"harii","age":21,"weight":34},"1":{"name":"sree","age":24,"weight":45},"2":{"name":"gowtham","age":25,"weight":67}}'
|
| 318 |
''')
|
| 319 |
|
|
|
|
| 314 |
data = pd.read_json(a)
|
| 315 |
ind = data.to_json(orient="index")
|
| 316 |
ind
|
| 317 |
+
''')
|
| 318 |
+
st.markdown('''
|
| 319 |
+
- Output will be :
|
| 320 |
output = '{"0":{"name":"harii","age":21,"weight":34},"1":{"name":"sree","age":24,"weight":45},"2":{"name":"gowtham","age":25,"weight":67}}'
|
| 321 |
''')
|
| 322 |
|