metadata
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 booktitle– title of the bookauthor– author of the bookgenre– genre of the bookpublished_year– year the book was published
Sample Usage
Load the dataset in 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)