eshangj's picture
Upload dataset
f2f45d1 verified
---
language:
- en
license: mit
size_categories:
- 10K<n<100K
task_categories:
- question-answering
tags:
- python
- stackoverflow
- question-answer
dataset_info:
features:
- name: question_id
dtype: int64
- name: creation_date
dtype: string
- name: link
dtype: string
- name: question
dtype: string
- name: accepted_answer
dtype: string
- name: question_vote
dtype: int64
- name: answer_vote
dtype: int64
splits:
- name: train
num_bytes: 44590624
num_examples: 15444
download_size: 23744659
dataset_size: 44590624
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
---
# Description
- GitHub repository: https://github.com/EshanJayasundara/Stackoverflow-Python-Q-and-A-Extractor.
- GitHub repository contains the automated workflow for extracting the question and answer pairs from Stackoverflow.
- This dataset contains the question-answer pairs extracted from Stackoverflow using Stack Exchange API v2.3 and used following endpoints,
- [/answers/{ids} GET](https://api.stackexchange.com/docs/questions)
- [/questions GET](https://api.stackexchange.com/docs/answers-by-ids)
- From 2020 January 1 to Today
### 1. Dataset description,
- Contains only `python` tagged question-answer pairs.
- Each question has a vote greater tan or equal to 1.
- Only contains the questions that have accepted answers and the corresponding accepted answers.
- **Can contain accepted answers(~30) with negative votes.**
### 2. Column description,
- `question_id` : id came from Stackoverflow.
- `creation_date` : the date when the question was created.
- `link` : link to the Stackoverflow page corresponding to that question-answer pair.
- `question` : question text
- `accepted_answer` : accepted answer text
- `question_vote` : score/vote given for the `question` by the Stackoverflow community.
- `answer_vote` : score/vote given for the `accepted_answer` by the Stackoverflow community.