Books_Data_Model / README.md
jomarie04's picture
Update README.md
7fcf727 verified
---
license: mit
---
# Books Dataset
This dataset contains information about popular books from various genres and authors.
## File
- `books.jsonl`
## Columns / Fields
- `id` – unique identifier for each book
- `title` – title of the book
- `author` – author of the book
- `genre` – genre of the book
- `published_year` – year the book was published
## Sample Usage
Load the dataset in Python:
```python
import json
books = []
with open("books.jsonl", "r") as f:
for line in f:
books.append(json.loads(line))
# Print first 5 books
for book in books[:5]:
print(book)