(data: List[dict], file)
| 121 | |
| 122 | |
| 123 | def write_jsonl(data: List[dict], file): |
| 124 | import json |
| 125 | with open(file, 'w') as f: |
| 126 | for item in data: |
| 127 | f.write(json.dumps(item) + '\n') |
| 128 | |
| 129 | |
| 130 | def to_hierachical_dataframe(data: List[Dict[Tuple[str, ...], Any]]): |
nothing calls this directly
no outgoing calls
no test coverage detected