<jupyter_start><jupyter_text>Using ticdat to convert data between different file formatsHere I'm showing how I convert between json format and xlsx format. The reverse conversion would be similar.This notebook needs `tts_netflow_b` in the Python path, and `test_tts_netflow_b` as a subdirectory of the current directory. If you run it directly from the `notebooks` directory cloned from GitHub it won't find `test_tts_netflow_b`. I prefer to use symbolic links for such things.<jupyter_code>import tts_netflow_b<jupyter_output><empty_output><jupyter_text>Since we are demonstrating `tts_netflow_b` as a dynamic work in progress, lets record the version.<jupyter_code>tts_netflow_b.__version__
dat = tts_netflow_b.input_schema.json.create_pan_dat("test_tts_netflow_b/data/sample_data.json")
dat
tts_netflow_b.input_schema.xls.write_file(dat, "netflow_flows_figure_5.xlsx")<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup