Closed roderick-liu closed 1 year ago
Please can you give a complete, minimal, self-contained Python script which reproduces your problem?
Tips here: https://stackoverflow.com/help/minimal-reproducible-example
tablib expects a yaml content structured with headers, like:
- {first_name: John, gpa: 90, last_name: Adams}
- {first_name: George, gpa: 67, last_name: Washington}
The docs could be more explicit and the error message in case of failure, too.
I have the same issue. Minimal code for reproduction:
props.yaml
:
title: Voice of Miki Vanoušek
And the python code:
import tablib
with open('props.yaml', 'r') as f:
podcast_properties = tablib.Dataset().load(f)
yaml file: