Cyro1 commited on
Commit
f933df4
·
verified ·
1 Parent(s): ed30a40

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +51 -29
README.md CHANGED
@@ -1,29 +1,51 @@
1
- ---
2
- license: mit
3
- configs:
4
- - config_name: default
5
- data_files:
6
- - split: train
7
- path: data/train-*
8
- - split: test
9
- path: data/test-*
10
- dataset_info:
11
- features:
12
- - name: wikipedia_id
13
- dtype: string
14
- - name: wikipedia_title
15
- dtype: string
16
- - name: popularity_avg
17
- dtype: float64
18
- - name: rank_avg
19
- dtype: float64
20
- splits:
21
- - name: train
22
- num_bytes: 274127340.6
23
- num_examples: 5313177
24
- - name: test
25
- num_bytes: 30458593.4
26
- num_examples: 590353
27
- download_size: 261833917
28
- dataset_size: 304585934.0
29
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - other
5
+ - text-classification
6
+ language:
7
+ - en
8
+ size_categories:
9
+ - 1M<n<10M
10
+ tags:
11
+ - wikipedia
12
+ - pageviews
13
+ - popularity
14
+ - knowledge-graph
15
+ - bias-detection
16
+ ---
17
+
18
+ # English Wikipedia Pageviews 2020 (Monthly Average)
19
+
20
+ This dataset links Wikipedia article IDs (from the 1st September 2019 Wikipedia dump) to their average monthly pageviews recorded during 2020.
21
+
22
+ ## Features
23
+
24
+ | Column | Type | Description |
25
+ |--------|------|-------------|
26
+ | `wikipedia_id` | int64 | Wikipedia article ID (page_id) |
27
+ | `wikipedia_title` | string | Wikipedia article title |
28
+ | `popularity_avg` | float64 | Average monthly pageviews across 2020 |
29
+ | `rank_avg` | float64 | Average rank of the article |
30
+
31
+ ## Stats
32
+
33
+ - **Articles**: 6.4M Wikipedia articles
34
+ - **Source**: Wikimedia pageview dumps for 2020
35
+ - **Split**: 90% train / 10% test (seed=42)
36
+
37
+ ## Usage
38
+
39
+ ```python
40
+ from datasets import load_dataset
41
+
42
+ ds = load_dataset("Cyro1/enwiki_pageviews_2021_m")
43
+ df = ds["train"].to_pandas()
44
+
45
+ # Merge with your dataset
46
+ merged = your_df.merge(
47
+ df[["wikipedia_id", "monthly_avg_pageviews"]],
48
+ left_on="document_id",
49
+ right_on="wikipedia_id"
50
+ )
51
+ ```