Datasets:
| # /// script | |
| # requires-python = ">=3.11" | |
| # dependencies = ["datasets"] | |
| # /// | |
| """Stream issues from the dataset without downloading everything.""" | |
| from datasets import load_dataset | |
| ds = load_dataset("open-index/open-github-meta", "issues", streaming=True) | |
| for i, row in enumerate(ds["train"]): | |
| print(f"#{row['number']}: [{row['state']}] {row['title']} (by {row['author']})") | |
| if i >= 19: | |
| break | |