skip to Main Content

How to convert a nested JSON to a Dataframe?

A response.json() returns a JSON in the following format: { "workbooks": [ { "name": "WORKBOOK_A", "embeddedDatasources": [ { "upstreamTables": [ {"name": "WORKBOOK_A_TABLE_A"}]}, { "upstreamTables": [ {"name": "WORKBOOK_A_TABLE_B"}, {"name": "WORKBOOK_A_TABLE_C"}]}, { "upstreamTables": []}]}, { "name": "WORKBOOK_B", "embeddedDatasources": [ { "upstreamTables": […

VIEW QUESTION

Write a JSON file from a Dataframe in Pola-rs

Starting with a DataFrame that has a form such as this df = pl.DataFrame([{"SkuId":1}]) shape: (1, 1) ┌───────┐ │ SkuId │ │ --- │ │ i64 │ ╞═══════╡ │ 1 │ └───────┘ How can I write it to a JSON…

VIEW QUESTION
Back To Top
Search