MCPcopy
hub / github.com/HKUDS/MiniRAG / list_of_list_to_csv

Function list_of_list_to_csv

minirag/utils.py:180–184  ·  view source on GitHub ↗
(data: List[List[str]])

Source from the content-addressed store, hash-verified

178
179
180def list_of_list_to_csv(data: List[List[str]]) -> str:
181 output = io.StringIO()
182 writer = csv.writer(output)
183 writer.writerows(data)
184 return output.getvalue()
185
186
187def csv_string_to_list(csv_string: str) -> List[List[str]]:

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected