Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,31 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: id
|
|
@@ -61,3 +88,66 @@ configs:
|
|
| 61 |
- split: train
|
| 62 |
path: data/train-*
|
| 63 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- no-annotation
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
language_creators:
|
| 7 |
+
- found
|
| 8 |
+
license:
|
| 9 |
+
- unknown
|
| 10 |
+
multilinguality:
|
| 11 |
+
- monolingual
|
| 12 |
+
pretty_name: Pandas GitHub Issues
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1K<n<10K
|
| 15 |
+
source_datasets:
|
| 16 |
+
- original
|
| 17 |
+
tags:
|
| 18 |
+
- pandas
|
| 19 |
+
- github
|
| 20 |
+
- issues
|
| 21 |
+
task_categories:
|
| 22 |
+
- text-classification
|
| 23 |
+
- text-retrieval
|
| 24 |
+
task_ids:
|
| 25 |
+
- multi-class-classification
|
| 26 |
+
- multi-label-classification
|
| 27 |
+
- document-retrieval
|
| 28 |
+
|
| 29 |
dataset_info:
|
| 30 |
features:
|
| 31 |
- name: id
|
|
|
|
| 88 |
- split: train
|
| 89 |
path: data/train-*
|
| 90 |
---
|
| 91 |
+
# Pandas GitHub Issues
|
| 92 |
+
|
| 93 |
+
This dataset contains **5,000 GitHub issues** collected from the [pandas-dev/pandas](https://github.com/pandas-dev/pandas) repository.
|
| 94 |
+
It includes issue metadata, content, labels, user information, timestamps, and comments.
|
| 95 |
+
|
| 96 |
+
The dataset is suitable for **text classification**, **multi-label classification**, and **document retrieval** tasks.
|
| 97 |
+
|
| 98 |
+
## Dataset Structure
|
| 99 |
+
|
| 100 |
+
**Columns:**
|
| 101 |
+
|
| 102 |
+
- `id` — Internal ID of the issue (int64)
|
| 103 |
+
- `number` — GitHub issue number (int64)
|
| 104 |
+
- `title` — Title of the issue (string)
|
| 105 |
+
- `state` — Issue state: open/closed (string)
|
| 106 |
+
- `created_at` — Timestamp when the issue was created (timestamp[s])
|
| 107 |
+
- `updated_at` — Timestamp when the issue was last updated (timestamp[s])
|
| 108 |
+
- `closed_at` — Timestamp when the issue was closed (timestamp[s])
|
| 109 |
+
- `html_url` — URL to the GitHub issue (string)
|
| 110 |
+
- `pull_request` — Struct containing PR info (if the issue is a PR):
|
| 111 |
+
- `url` — URL to PR
|
| 112 |
+
- `html_url` — HTML URL of PR
|
| 113 |
+
- `diff_url` — Diff URL
|
| 114 |
+
- `patch_url` — Patch URL
|
| 115 |
+
- `merged_at` — Merge timestamp (timestamp[s])
|
| 116 |
+
- `user_login` — Login of the issue creator (string)
|
| 117 |
+
- `is_pull_request` — Whether the issue is a pull request (bool)
|
| 118 |
+
- `comments` — List of comments on the issue (list[string])
|
| 119 |
+
|
| 120 |
+
**Splits:**
|
| 121 |
+
|
| 122 |
+
- `train` — 5,000 examples
|
| 123 |
+
|
| 124 |
+
## Dataset Creation
|
| 125 |
+
|
| 126 |
+
The dataset was collected using the GitHub API, including all issue metadata and comments.
|
| 127 |
+
|
| 128 |
+
## Usage Example
|
| 129 |
+
|
| 130 |
+
```python
|
| 131 |
+
from datasets import load_dataset
|
| 132 |
+
|
| 133 |
+
dataset = load_dataset("your-username/pandas-github-issues", split="train")
|
| 134 |
+
|
| 135 |
+
# Preview first 5 examples
|
| 136 |
+
for i, example in enumerate(dataset[:5]):
|
| 137 |
+
print(f"Issue #{example['number']}: {example['title']}")
|
| 138 |
+
print(f"Created at: {example['created_at']}, Closed at: {example['closed_at']}")
|
| 139 |
+
print(f"User: {example['user_login']}, PR: {example['is_pull_request']}")
|
| 140 |
+
print(f"Comments: {example['comments'][:3]}") # first 3 comments
|
| 141 |
+
print()
|
| 142 |
+
___
|
| 143 |
+
## Citation
|
| 144 |
+
|
| 145 |
+
If you use this dataset, please cite it as:
|
| 146 |
+
|
| 147 |
+
```bibtex
|
| 148 |
+
@misc{yourusername_pandas_github_issues,
|
| 149 |
+
author = {Your Name},
|
| 150 |
+
title = {Pandas GitHub Issues Dataset},
|
| 151 |
+
year = {2025},
|
| 152 |
+
howpublished = {\url{https://huggingface.co/datasets/your-username/pandas-github-issues}}
|
| 153 |
+
}
|