Skip to content
Advertisement

Python- Generate schema from file using TableSchema

I am trying to generate a schema from a csv file using TableSchame package.

JavaScript

Gives me “raise exceptions.SourceError(message) tabulator.exceptions.SourceError: Only callable returning an iterator is supported”

How do i get the Table to work with a csv file?

Advertisement

Answer

Table can be used by directly passing the CSV file path, see the docs:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement