donfu commited on
Commit
2e55369
1 Parent(s): fc31cfb
Files changed (3) hide show
  1. README.md +192 -0
  2. stats.md +186 -0
  3. stats.py +13 -0
README.md CHANGED
@@ -28,6 +28,8 @@ language:
28
  - ru
29
  - de
30
  - fr
 
 
31
  pretty_name: Open-Assistant StackExchange Instruction
32
  ---
33
 
@@ -47,6 +49,196 @@ Each row consists of
47
 
48
  Original extraction code by https://github.com/b-mc2
49
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  ---
51
 
52
  ## license: cc-by-sa-4.0 // See https://archive.org/details/stackexchange for details
 
28
  - ru
29
  - de
30
  - fr
31
+ - it
32
+ - es
33
  pretty_name: Open-Assistant StackExchange Instruction
34
  ---
35
 
 
49
 
50
  Original extraction code by https://github.com/b-mc2
51
 
52
+ ## Statistics
53
+
54
+ - 3dprinting: 1,006
55
+ - academia: 6,956
56
+ - ai: 1,169
57
+ - android: 11,591
58
+ - anime: 3,688
59
+ - apple: 32,603
60
+ - arduino: 3,725
61
+ - askubuntu: 78,472
62
+ - astronomy: 2,425
63
+ - aviation: 4,945
64
+ - avp: 1,949
65
+ - beer: 387
66
+ - bicycles: 4,835
67
+ - bioacoustics: 70
68
+ - bioinformatics: 903
69
+ - biology: 5,344
70
+ - bitcoin: 7,456
71
+ - blender: 25,527
72
+ - boardgames: 4,538
73
+ - bricks: 1,457
74
+ - buddhism: 911
75
+ - cardano: 670
76
+ - chemistry: 7,430
77
+ - chess: 2,185
78
+ - chinese: 4,897
79
+ - christianity: 1,248
80
+ - civicrm: 3,221
81
+ - codegolf: 943
82
+ - codereview: 2,171
83
+ - coffee: 350
84
+ - cogsci: 645
85
+ - computergraphics: 540
86
+ - conlang: 101
87
+ - cooking: 7,951
88
+ - craftcms: 4,533
89
+ - crafts: 438
90
+ - crypto: 4,425
91
+ - cs: 9,478
92
+ - cseducators: 71
93
+ - cstheory: 2,196
94
+ - datascience: 5,045
95
+ - dba: 16,850
96
+ - devops: 961
97
+ - diy: 14,400
98
+ - drones: 190
99
+ - drupal: 24,090
100
+ - dsp: 4,470
101
+ - earthscience: 922
102
+ - ebooks: 323
103
+ - economics: 2,120
104
+ - electronics: 41,717
105
+ - elementaryos: 1,769
106
+ - ell: 30,428
107
+ - emacs: 7,140
108
+ - engineering: 2,314
109
+ - english: 42,415
110
+ - eosio: 626
111
+ - es_stackoverflow: 21,475
112
+ - esperanto: 617
113
+ - ethereum: 9,603
114
+ - expatriates: 973
115
+ - expressionengine: 3,638
116
+ - fitness: 1,833
117
+ - freelancing: 338
118
+ - french: 5,193
119
+ - gamedev: 9,678
120
+ - gaming: 44,899
121
+ - gardening: 4,492
122
+ - genealogy: 487
123
+ - german: 6,715
124
+ - gis: 30,249
125
+ - graphicdesign: 10,563
126
+ - ham: 790
127
+ - hardwarerecs: 647
128
+ - health: 804
129
+ - hermeneutics: 782
130
+ - hinduism: 1,036
131
+ - history: 1,776
132
+ - homebrew: 2,357
133
+ - hsm: 484
134
+ - interpersonal: 199
135
+ - iot: 331
136
+ - iota: 292
137
+ - islam: 1,496
138
+ - italian: 1,356
139
+ - ja_stackoverflow: 9,734
140
+ - japanese: 13,862
141
+ - joomla: 1,875
142
+ - judaism: 6,156
143
+ - korean: 754
144
+ - languagelearning: 135
145
+ - latin: 1,387
146
+ - law: 3,475
147
+ - lifehacks: 934
148
+ - linguistics: 1,507
149
+ - literature: 582
150
+ - magento: 20,537
151
+ - martialarts: 364
152
+ - materials: 338
153
+ - math: 501,019
154
+ - matheducators: 316
155
+ - mathematica: 19,529
156
+ - mathoverflow_net_7z: 23,803
157
+ - mechanics: 4,735
158
+ - meta: 34,161
159
+ - meta_askubuntu: 2,076
160
+ - meta_mathoverflow_net_7z: 333
161
+ - meta_serverfault: 823
162
+ - meta_stackoverflow: 12,641
163
+ - meta_superuser: 1,748
164
+ - moderators: 39
165
+ - monero: 1,443
166
+ - money: 7,996
167
+ - movies: 6,789
168
+ - music: 5,740
169
+ - musicfans: 781
170
+ - mythology: 271
171
+ - networkengineering: 4,637
172
+ - opendata: 1,117
173
+ - opensource: 805
174
+ - or: 586
175
+ - outdoors: 1,503
176
+ - parenting: 815
177
+ - patents: 582
178
+ - pets: 1,081
179
+ - philosophy: 1,505
180
+ - photo: 6,386
181
+ - physics: 35,386
182
+ - pm: 982
183
+ - poker: 431
184
+ - politics: 1,903
185
+ - portuguese: 658
186
+ - proofassistants: 87
187
+ - pt_stackoverflow: 27,650
188
+ - puzzling: 11,959
189
+ - quant: 3,303
190
+ - quantumcomputing: 1,604
191
+ - raspberrypi: 6,794
192
+ - retrocomputing: 1,016
193
+ - reverseengineering: 1,606
194
+ - robotics: 1,020
195
+ - rpg: 9,517
196
+ - ru_stackoverflow: 106,714
197
+ - rus: 8,210
198
+ - russian: 1,960
199
+ - salesforce: 27,962
200
+ - scicomp: 1,403
201
+ - scifi: 15,174
202
+ - security: 11,733
203
+ - serverfault: 81,229
204
+ - sharepoint: 24,934
205
+ - sitecore: 2,691
206
+ - skeptics: 1,043
207
+ - softwareengineering: 10,526
208
+ - softwarerecs: 3,032
209
+ - solana: 602
210
+ - sound: 2,031
211
+ - space: 3,145
212
+ - spanish: 3,049
213
+ - sports: 1,715
214
+ - sqa: 1,944
215
+ - stackapps: 702
216
+ - stackoverflow: 4,269,779
217
+ - stats: 23,102
218
+ - stellar: 373
219
+ - substrate: 812
220
+ - superuser: 128,488
221
+ - sustainability: 240
222
+ - tex: 42,808
223
+ - tezos: 635
224
+ - tor: 887
225
+ - travel: 9,957
226
+ - tridion: 1,769
227
+ - ukrainian: 577
228
+ - unix: 54,338
229
+ - ux: 7,403
230
+ - vegetarianism: 151
231
+ - vi: 4,360
232
+ - webapps: 10,159
233
+ - webmasters: 9,413
234
+ - windowsphone: 1,110
235
+ - woodworking: 677
236
+ - wordpress: 24,270
237
+ - workplace: 4,104
238
+ - worldbuilding: 2,766
239
+ - writers: 1,957
240
+
241
+
242
  ---
243
 
244
  ## license: cc-by-sa-4.0 // See https://archive.org/details/stackexchange for details
stats.md ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ - 3dprinting: 1,006
2
+ - academia: 6,956
3
+ - ai: 1,169
4
+ - android: 11,591
5
+ - anime: 3,688
6
+ - apple: 32,603
7
+ - arduino: 3,725
8
+ - askubuntu: 78,472
9
+ - astronomy: 2,425
10
+ - aviation: 4,945
11
+ - avp: 1,949
12
+ - beer: 387
13
+ - bicycles: 4,835
14
+ - bioacoustics: 70
15
+ - bioinformatics: 903
16
+ - biology: 5,344
17
+ - bitcoin: 7,456
18
+ - blender: 25,527
19
+ - boardgames: 4,538
20
+ - bricks: 1,457
21
+ - buddhism: 911
22
+ - cardano: 670
23
+ - chemistry: 7,430
24
+ - chess: 2,185
25
+ - chinese: 4,897
26
+ - christianity: 1,248
27
+ - civicrm: 3,221
28
+ - codegolf: 943
29
+ - codereview: 2,171
30
+ - coffee: 350
31
+ - cogsci: 645
32
+ - computergraphics: 540
33
+ - conlang: 101
34
+ - cooking: 7,951
35
+ - craftcms: 4,533
36
+ - crafts: 438
37
+ - crypto: 4,425
38
+ - cs: 9,478
39
+ - cseducators: 71
40
+ - cstheory: 2,196
41
+ - datascience: 5,045
42
+ - dba: 16,850
43
+ - devops: 961
44
+ - diy: 14,400
45
+ - drones: 190
46
+ - drupal: 24,090
47
+ - dsp: 4,470
48
+ - earthscience: 922
49
+ - ebooks: 323
50
+ - economics: 2,120
51
+ - electronics: 41,717
52
+ - elementaryos: 1,769
53
+ - ell: 30,428
54
+ - emacs: 7,140
55
+ - engineering: 2,314
56
+ - english: 42,415
57
+ - eosio: 626
58
+ - es_stackoverflow: 21,475
59
+ - esperanto: 617
60
+ - ethereum: 9,603
61
+ - expatriates: 973
62
+ - expressionengine: 3,638
63
+ - fitness: 1,833
64
+ - freelancing: 338
65
+ - french: 5,193
66
+ - gamedev: 9,678
67
+ - gaming: 44,899
68
+ - gardening: 4,492
69
+ - genealogy: 487
70
+ - german: 6,715
71
+ - gis: 30,249
72
+ - graphicdesign: 10,563
73
+ - ham: 790
74
+ - hardwarerecs: 647
75
+ - health: 804
76
+ - hermeneutics: 782
77
+ - hinduism: 1,036
78
+ - history: 1,776
79
+ - homebrew: 2,357
80
+ - hsm: 484
81
+ - interpersonal: 199
82
+ - iot: 331
83
+ - iota: 292
84
+ - islam: 1,496
85
+ - italian: 1,356
86
+ - ja_stackoverflow: 9,734
87
+ - japanese: 13,862
88
+ - joomla: 1,875
89
+ - judaism: 6,156
90
+ - korean: 754
91
+ - languagelearning: 135
92
+ - latin: 1,387
93
+ - law: 3,475
94
+ - lifehacks: 934
95
+ - linguistics: 1,507
96
+ - literature: 582
97
+ - magento: 20,537
98
+ - martialarts: 364
99
+ - materials: 338
100
+ - math: 501,019
101
+ - matheducators: 316
102
+ - mathematica: 19,529
103
+ - mathoverflow_net_7z: 23,803
104
+ - mechanics: 4,735
105
+ - meta: 34,161
106
+ - meta_askubuntu: 2,076
107
+ - meta_mathoverflow_net_7z: 333
108
+ - meta_serverfault: 823
109
+ - meta_stackoverflow: 12,641
110
+ - meta_superuser: 1,748
111
+ - moderators: 39
112
+ - monero: 1,443
113
+ - money: 7,996
114
+ - movies: 6,789
115
+ - music: 5,740
116
+ - musicfans: 781
117
+ - mythology: 271
118
+ - networkengineering: 4,637
119
+ - opendata: 1,117
120
+ - opensource: 805
121
+ - or: 586
122
+ - outdoors: 1,503
123
+ - parenting: 815
124
+ - patents: 582
125
+ - pets: 1,081
126
+ - philosophy: 1,505
127
+ - photo: 6,386
128
+ - physics: 35,386
129
+ - pm: 982
130
+ - poker: 431
131
+ - politics: 1,903
132
+ - portuguese: 658
133
+ - proofassistants: 87
134
+ - pt_stackoverflow: 27,650
135
+ - puzzling: 11,959
136
+ - quant: 3,303
137
+ - quantumcomputing: 1,604
138
+ - raspberrypi: 6,794
139
+ - retrocomputing: 1,016
140
+ - reverseengineering: 1,606
141
+ - robotics: 1,020
142
+ - rpg: 9,517
143
+ - ru_stackoverflow: 106,714
144
+ - rus: 8,210
145
+ - russian: 1,960
146
+ - salesforce: 27,962
147
+ - scicomp: 1,403
148
+ - scifi: 15,174
149
+ - security: 11,733
150
+ - serverfault: 81,229
151
+ - sharepoint: 24,934
152
+ - sitecore: 2,691
153
+ - skeptics: 1,043
154
+ - softwareengineering: 10,526
155
+ - softwarerecs: 3,032
156
+ - solana: 602
157
+ - sound: 2,031
158
+ - space: 3,145
159
+ - spanish: 3,049
160
+ - sports: 1,715
161
+ - sqa: 1,944
162
+ - stackapps: 702
163
+ - stackoverflow: 4,269,779
164
+ - stats: 23,102
165
+ - stellar: 373
166
+ - substrate: 812
167
+ - superuser: 128,488
168
+ - sustainability: 240
169
+ - tex: 42,808
170
+ - tezos: 635
171
+ - tor: 887
172
+ - travel: 9,957
173
+ - tridion: 1,769
174
+ - ukrainian: 577
175
+ - unix: 54,338
176
+ - ux: 7,403
177
+ - vegetarianism: 151
178
+ - vi: 4,360
179
+ - webapps: 10,159
180
+ - webmasters: 9,413
181
+ - windowsphone: 1,110
182
+ - woodworking: 677
183
+ - wordpress: 24,270
184
+ - workplace: 4,104
185
+ - worldbuilding: 2,766
186
+ - writers: 1,957
stats.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re, glob
2
+ from pyarrow.parquet import ParquetDataset
3
+
4
+
5
+ def rows(topic):
6
+ dataset = ParquetDataset(f"parquet/{topic}.parquet")
7
+ return sum(p.count_rows() for p in dataset.fragments)
8
+
9
+
10
+ for f in sorted(glob.glob("parquet/*.parquet")):
11
+ topic = re.match(r".*\/(.*?)\.parquet", f)[1]
12
+ num = rows(topic)
13
+ print(f"- {topic}: {int(num):,}")