File size: 2,020 Bytes
5db62c9
 
 
b9de1ba
 
762cf5e
b9de1ba
 
5db62c9
e83b715
5db62c9
762cf5e
b9de1ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73719ee
 
 
 
b9de1ba
 
 
 
 
 
0fdea0f
5120fdd
 
0fdea0f
 
 
5120fdd
0fdea0f
 
 
 
31c324b
0fdea0f
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
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: 44427436
    num_examples: 15386
  download_size: 23655191
  dataset_size: 44427436
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.