File size: 4,341 Bytes
4b385f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2de743d
4b385f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101bd3a
4b385f1
 
 
c7ba01c
4b385f1
 
101bd3a
 
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
license: cc-by-nc-4.0
language:
- en
tags:
- reddit
- finance
- comments
pretty_name: Reddit Finance Comments for S&P 500 Companies
size_categories:
- 10K<n<100K
---

# Reddit Finance Comments for S&P 500 Companies

### Overview

This dataset contains **Reddit comments** collected from posts discussing S&P 500 companies, with a focus on high-quality and relevant finance conversations.  
Each comment is linked to its original post, and detailed metadata for both comments and posts is included.

**Original posts** are sourced from the [emilpartow/reddit_finance_posts_sp500](https://huggingface.co/datasets/emilpartow/reddit_finance_posts_sp500) dataset.  
**Comments** were collected and filtered for quality, then thoroughly cleaned to ensure true relevance to the company referenced in each post.

---

### Dataset Structure

- **Format:** CSV
- **Rows:** One per Reddit comment
- **Columns:** See below

#### Columns

| Column Name           | Type      | Description                                                                |
|-----------------------|-----------|----------------------------------------------------------------------------|
| post_id               | string    | Reddit ID of the post the comment belongs to                               |
| comment_id            | string    | Reddit ID of the comment                                                   |
| comment               | string    | Reddit comment text                                                |
| comment_score         | float     | Reddit upvote score of the comment                                         |
| comment_author        | string    | Reddit username of the comment author                                      |
| comment_created_utc   | float     | UTC timestamp of the comment's creation                                    |
| post_title            | string    | Title of the original Reddit post                                          |
| post_text             | string    | Text content of the original Reddit post                                   |
| post_score            | float     | Reddit upvote score of the post                                            |
| post_author           | string    | Reddit username of the post author                                         |
| post_created_utc      | float     | UTC timestamp of the post's creation                                       |
| company               | string    | S&P 500 company associated with the post and comment                       |
| subreddit             | string    | Subreddit where the post was published                                     |
| post_url              | string    | URL to the original Reddit post                                            |

---

### Cleaning and Filtering

- **Duplicates:** All duplicate comments (based on `comment_id`) have been removed.
- **Missing Values:** Comments with missing critical fields (`comment`, `comment_author`, `post_id`, `company`) were removed.
- **Minimum Length:** Only comments with more than 30 characters are included.
- **Company Matching:**  
  Only comments where the specified S&P 500 company name appears as a standalone word within the comment, post title, or post text are included.  
  This ensures true relevance to the company and minimizes false positives from company names that may appear as substrings in unrelated contexts.
---

### Use Cases

- Financial sentiment analysis
- Company-specific trend studies
- NLP tasks (classification, entity recognition, summarization)
- Research on retail investor behavior

---

### Attribution

- Original Reddit post dataset: [emilpartow/reddit_finance_posts_sp500](https://huggingface.co/datasets/emilpartow/reddit_finance_posts_sp500)
- Financial Sentiment Pipeline: [emilpartow/financial-sentiment-pipeline](https://github.com/emilpartow/financial-sentiment-pipeline)

---

### License

Please abide by Reddit’s [Terms of Service](https://www.reddit.com/wiki/privacypolicy) when using this data.

---

### Citation

If you use this dataset, please cite as:

```
@misc{emilpartow2024redditsp500comments,
title = {Reddit Finance Comments for S&P 500 Companies},
author = {Emil Partow},
year = {2025},
howpublished = {HuggingFace Dataset},
url = {https://huggingface.co/datasets/emilpartow/reddit_comments_sp500}
}
```