Cyro1's picture
Upload README.md with huggingface_hub
81b8f6a verified
|
Raw
History Blame Contribute Delete
1.17 kB
metadata
license: mit
task_categories:
  - other
  - text-classification
language:
  - en
size_categories:
  - 1M<n<10M
tags:
  - wikipedia
  - pageviews
  - popularity
  - knowledge-graph
  - bias-detection

English Wikipedia Pageviews 2023 (Monthly Average)

This dataset links Wikipedia article IDs (from the 1st September 2019 Wikipedia dump) to their average monthly pageviews recorded during 2023.

Features

Column Type Description
wikipedia_id int64 Wikipedia article ID (page_id)
wikipedia_title string Wikipedia article title
popularity_avg float64 Average monthly pageviews across 2023
rank_avg float64 Average rank of the article

Stats

  • Articles: 6.4M Wikipedia articles
  • Source: Wikimedia pageview dumps for 2023
  • Split: 90% train / 10% test (seed=42)

Usage

from datasets import load_dataset

ds = load_dataset("Cyro1/enwiki_pageviews_2021_m")
df = ds["train"].to_pandas()

# Merge with your dataset
merged = your_df.merge(
    df[["wikipedia_id", "monthly_avg_pageviews"]], 
    left_on="document_id", 
    right_on="wikipedia_id"
)