MCPcopy
hub / github.com/omkarcloud/botasaurus / get_fields

Function get_fields

botasaurus/output.py:415–418  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

413 workbook.close()
414 return filename
415def get_fields(data):
416 if len(data) == 0:
417 return []
418 return list(data[0].keys())
419
420def read_excel(filename):
421 import openpyxl

Callers 2

write_csvFunction · 0.70
write_workbookFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected