Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 22 new columns ({'comment_count', 'days_since_published', 'channel_name', 'subscriber_tier', 'comment_per_view', 'region', 'video_length_category', 'duration_seconds', 'subscriber_count', 'published_text', 'channel_id', 'title', 'engagement_rate', 'like_count', 'title_char_per_word', 'emoji_count_title', 'like_per_view', 'title_length', 'is_live', 'view_count', 'has_emoji', 'scraped_at'}) and 12 missing columns ({'device', 'watch_percent', 'commented', 'timestamp', 'clicked', 'user_id', 'watch_time', 'watch_time_of_day', 'recommended', 'video_duration', 'liked', 'subscribed_after'}).

This happened while the csv dataset builder was generating data using

zip://youtube_analytics_dataset.csv::hf://datasets/EduDevCommons/YouTube-Trending-Analytics-Dataset-Multi-Region@919edbde18745bfef88547c22994600ca71ba30a/YouTube Trending Analytics Dataset – Multi-Region.zip, ['hf://datasets/EduDevCommons/YouTube-Trending-Analytics-Dataset-Multi-Region@919edbde18745bfef88547c22994600ca71ba30a/YouTube Trending Analytics Dataset – Multi-Region.zip']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              video_id: string
              title: string
              title_length: int64
              emoji_count_title: int64
              channel_name: string
              channel_id: string
              view_count: int64
              duration_seconds: int64
              published_text: string
              region: string
              category: string
              is_live: int64
              scraped_at: string
              like_count: int64
              comment_count: int64
              like_per_view: double
              comment_per_view: double
              engagement_rate: double
              days_since_published: int64
              has_emoji: int64
              title_char_per_word: double
              video_length_category: string
              subscriber_count: int64
              subscriber_tier: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 3259
              to
              {'user_id': Value('int64'), 'video_id': Value('int64'), 'video_duration': Value('int64'), 'watch_time': Value('float64'), 'liked': Value('string'), 'commented': Value('int64'), 'subscribed_after': Value('int64'), 'category': Value('string'), 'device': Value('string'), 'watch_time_of_day': Value('string'), 'recommended': Value('int64'), 'clicked': Value('int64'), 'timestamp': Value('string'), 'watch_percent': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 22 new columns ({'comment_count', 'days_since_published', 'channel_name', 'subscriber_tier', 'comment_per_view', 'region', 'video_length_category', 'duration_seconds', 'subscriber_count', 'published_text', 'channel_id', 'title', 'engagement_rate', 'like_count', 'title_char_per_word', 'emoji_count_title', 'like_per_view', 'title_length', 'is_live', 'view_count', 'has_emoji', 'scraped_at'}) and 12 missing columns ({'device', 'watch_percent', 'commented', 'timestamp', 'clicked', 'user_id', 'watch_time', 'watch_time_of_day', 'recommended', 'video_duration', 'liked', 'subscribed_after'}).
              
              This happened while the csv dataset builder was generating data using
              
              zip://youtube_analytics_dataset.csv::hf://datasets/EduDevCommons/YouTube-Trending-Analytics-Dataset-Multi-Region@919edbde18745bfef88547c22994600ca71ba30a/YouTube Trending Analytics Dataset – Multi-Region.zip, ['hf://datasets/EduDevCommons/YouTube-Trending-Analytics-Dataset-Multi-Region@919edbde18745bfef88547c22994600ca71ba30a/YouTube Trending Analytics Dataset – Multi-Region.zip']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

user_id
int64
video_id
int64
video_duration
int64
watch_time
float64
liked
string
commented
int64
subscribed_after
int64
category
string
device
string
watch_time_of_day
string
recommended
int64
clicked
int64
timestamp
string
watch_percent
float64
88,263
19,387
1,499
1,499
1
0
0
News
TV
Night
0
0
2025-07-16 06:10:54
1
46,796
5,150
2,955
2,955
1
0
0
Education
Mobile
Night
1
1
2024-07-09 10:22:22
1
77,686
3,172
389
389
0
0
0
Sports
Desktop
Afternoon
0
0
2025-02-07 09:46:36
1
26,723
27,669
1,231
1,231
1
1
0
Gaming
TV
Evening
0
0
2024-04-28 08:07:13
1
55,299
24,612
3,573
353
0
1
0
Lifestyle
Desktop
Evening
1
0
2024-03-30 12:54:24
0.098797
70,844
5,235
1,874
40
0
0
0
News
Tablet
Evening
1
0
2023-12-21 18:43:56
0.021345
14,114
39,710
962
962
0
0
0
News
Desktop
Night
0
0
2023-08-30 03:31:23
1
13,031
22,665
1,765
222
0
0
0
News
Tablet
Morning
0
1
2023-01-04 19:24:37
0.125779
94,390
4,910
1,710
1,710
0
0
0
Gaming
Desktop
Afternoon
1
0
2025-07-27 16:23:26
1
48,859
2,715
1,320
1,320
1
0
0
Music
Tablet
Evening
0
0
2024-03-23 23:18:15
1
36,354
18,928
672
247
0
0
0
Lifestyle
Mobile
Night
0
0
2024-04-29 06:20:46
0.36756
94,494
17,565
1,396
986
0
0
0
Lifestyle
TV
Afternoon
1
0
2025-06-10 03:39:56
0.706304
14,172
8,971
2,974
2,974
1
0
0
Gaming
Tablet
Evening
0
0
2023-05-28 10:08:29
1
68,015
24,962
2,793
1,504
0
1
0
Education
Mobile
Morning
1
0
2023-07-12 21:46:34
0.538489
61,395
48,084
1,823
1,823
1
0
0
Gaming
Desktop
Morning
0
1
2024-11-21 18:28:00
1
43,137
40,848
2,311
2,311
0
0
0
Tech
TV
Evening
1
1
2023-11-03 05:57:31
1
61,263
48,297
1,591
1,591
0
0
0
Tech
Mobile
Afternoon
1
0
2023-11-28 09:05:52
1
54,726
31,559
1,449
1,449
0
0
0
Sports
Mobile
Evening
0
0
2023-11-26 15:00:37
1
93,747
47,772
1,023
1,023
0
0
0
Gaming
Desktop
Morning
0
1
2024-06-19 05:55:15
1
78,317
22,780
1,818
1,818
0
0
0
Gaming
Desktop
Evening
1
1
2025-07-24 00:26:52
1
24,108
34,403
2,375
282
1
0
0
Tech
TV
Morning
1
0
2023-07-04 07:57:54
0.118737
70,014
6,297
3,299
2,590
0
0
0
Music
Mobile
Afternoon
0
0
2025-09-17 07:08:09
0.785086
39,645
19,363
1,329
1,329
0
0
0
Lifestyle
Tablet
Evening
0
0
2024-11-14 09:54:24
1
68,749
33,240
2,423
2,423
1
0
0
Education
TV
Afternoon
1
0
2023-07-05 19:19:49
1
44,500
46,376
2,923
2,923
0
0
0
Lifestyle
Mobile
Morning
0
0
2025-08-20 14:56:55
1
99,389
7,648
2,264
2,264
0
0
0
Gaming
Desktop
Morning
0
1
2023-09-02 17:30:57
1
84,889
45,214
2,354
2,354
0
0
1
Lifestyle
TV
Afternoon
0
1
2024-05-08 05:02:35
1
60,144
18,477
1,816
1,816
0
0
0
Comedy
Desktop
Morning
1
1
2023-01-10 10:17:03
1
35,626
19,895
1,201
1,201
0
0
0
News
Mobile
Night
1
0
2024-08-01 21:26:04
1
72,599
8,746
1,005
1,005
0
0
0
Sports
Mobile
Morning
1
0
2025-03-23 19:37:11
1
64,782
23,355
837
837
0
0
0
Tech
Desktop
Afternoon
1
1
2025-09-14 00:58:58
1
96,060
27,179
64
64
0
0
0
Education
Desktop
Morning
0
0
2025-04-26 09:52:10
1
76,866
14,735
2,278
2,278
0
0
0
News
TV
Morning
1
0
2024-02-24 17:56:49
1
41,911
34,254
2,755
2,049
1
0
0
Education
TV
Afternoon
1
1
2024-01-02 07:30:47
0.743739
66,323
20,092
1,440
1,440
0
0
0
Tech
Desktop
Afternoon
0
0
2023-05-06 07:16:54
1
37,711
45,812
943
943
1
0
0
Lifestyle
TV
Afternoon
1
0
2025-06-07 20:31:27
1
8,379
30,879
1,017
878
0
0
0
Comedy
Desktop
Afternoon
0
0
2024-05-13 07:53:57
0.863324
76,703
36,372
778
258
0
0
0
Tech
Mobile
Evening
1
0
2025-06-15 04:34:39
0.33162
42,275
12,960
2,916
2,916
0
0
0
Comedy
Desktop
Morning
1
1
2023-11-25 23:05:35
1
60,327
20,849
3,066
3,066
0
1
0
Gaming
TV
Morning
0
0
2024-10-10 02:00:27
1
85,515
37,084
843
762
1
0
0
Lifestyle
TV
Evening
1
0
2023-04-11 02:30:56
0.903915
75,114
28,545
1,110
1,110
0
1
0
Music
Mobile
Evening
1
1
2025-09-22 20:55:10
1
38,114
27,759
1,069
1,069
0
0
0
Tech
Desktop
Morning
0
1
2023-12-08 20:11:36
1
82,059
44,672
2,120
1,594
0
0
0
Music
Mobile
Afternoon
0
0
2023-09-01 07:49:01
0.751887
77,664
4,871
865
865
0
0
0
Sports
Mobile
Morning
0
1
2025-08-23 11:50:12
1
88,888
4,360
2,182
1,161
0
0
0
Comedy
Desktop
Night
0
0
2023-05-05 04:19:48
0.532081
53,670
46,296
2,819
2,399
0
0
0
Lifestyle
Tablet
Afternoon
1
0
2024-08-10 00:00:26
0.851011
68,144
28,604
3,136
3,136
0
0
1
Sports
Desktop
Afternoon
1
0
2025-09-29 13:13:37
1
4,952
5,992
3,114
1,303
0
0
0
Lifestyle
Tablet
Evening
1
1
2024-06-09 21:14:08
0.418433
18,485
41,023
1,832
1,599
0
0
0
Comedy
TV
Evening
1
0
2025-06-13 00:32:09
0.872817
46,550
13,393
3,565
589
1
1
0
Tech
Mobile
Night
0
1
2024-10-28 07:19:47
0.165217
49
26,763
2,846
10,452
no
0
0
MUsic
Desktop
Evening
1
1
2025-09-12 00:15:15
3.672523
49,234
43,534
43
43
1
0
0
News
Tablet
Evening
0
0
2025-05-10 12:25:29
1
75,298
10,010
2,678
956
0
0
0
Lifestyle
TV
Afternoon
1
1
2025-08-02 08:16:33
0.356983
57,179
28,311
185
185
0
0
0
Sports
Tablet
Afternoon
0
0
2024-10-09 13:26:07
1
92,456
45,480
1,356
652
1
1
0
Sports
Desktop
Morning
1
0
2023-06-10 07:28:22
0.480826
38,612
44,984
3,212
2,475
1
0
0
Sports
Mobile
Morning
1
1
2023-02-02 12:18:54
0.770548
46,908
21,877
1,367
1,367
0
1
0
Sports
Mobile
Night
0
1
2023-11-27 20:17:04
1
13,764
48,952
1,868
286
1
0
0
Sports
TV
Evening
0
0
2024-01-06 14:11:46
0.153105
28,385
28,452
1,578
1,578
1
0
0
Lifestyle
TV
Night
1
1
2025-07-16 00:48:31
1
89,355
17,516
1,219
1,219
0
0
0
Gaming
Mobile
Morning
0
0
2024-09-12 11:07:59
1
41,410
31,198
931
931
1
0
0
Sports
TV
Evening
0
1
2024-07-02 19:07:00
1
17,825
35,332
3,074
2,031
0
1
0
Education
Tablet
Night
0
1
2024-11-14 05:19:01
0.660703
42,933
6,112
1,111
1,111
0
0
0
Comedy
Desktop
Afternoon
0
0
2025-03-05 09:51:19
1
5,882
34,620
1,067
1,067
0
0
0
Tech
Mobile
Night
0
0
2024-04-24 05:32:43
1
17,534
16,178
2,495
2,194
1
0
0
News
Desktop
Morning
1
0
2024-11-05 12:56:47
0.879359
2,397
45,937
3,501
2,023
0
0
0
Sports
TV
Night
1
0
2024-03-02 02:12:19
0.577835
7,857
27,380
385
385
0
0
0
Sports
Desktop
Evening
0
0
2025-04-06 21:31:04
1
73,196
39,912
1,908
893
0
0
0
News
Tablet
Afternoon
0
1
2023-10-31 02:10:04
0.468029
27,303
15,457
1,544
1,544
0
0
0
Music
TV
Afternoon
1
0
2025-09-03 19:26:09
1
82,151
19,569
2,085
2,085
0
0
0
Tech
Tablet
Morning
1
0
2024-04-02 04:19:13
1
94,058
23,071
1,594
1,594
0
0
0
Comedy
Mobile
Morning
1
0
2024-01-26 12:47:21
1
28,506
44,212
171
171
1
1
0
Lifestyle
Desktop
Morning
0
0
2025-02-23 19:23:26
1
1,579
8,436
2,142
78
1
0
0
News
Mobile
Morning
0
0
2023-09-03 10:23:32
0.036415
76,624
790
3,007
2,458
0
0
1
Gaming
Mobile
Night
0
1
2024-11-27 06:28:53
0.817426
1,138
29,076
1,186
1,186
0
0
0
Lifestyle
Tablet
Night
0
0
2024-07-30 05:08:14
1
22,930
41,990
205
205
0
0
0
Education
Desktop
Morning
0
0
2024-02-14 05:03:02
1
92,888
7,810
2,323
2,323
1
0
0
Comedy
Mobile
Night
0
0
2024-09-28 06:25:28
1
91,671
37,432
2,515
1,552
0
0
0
Lifestyle
Tablet
Afternoon
1
0
2025-06-08 10:27:11
0.617097
83,658
46,484
729
729
1
0
0
Sports
Mobile
Night
0
0
2024-04-23 08:48:12
1
99,033
22,490
2,002
2,002
0
0
0
Lifestyle
Desktop
Afternoon
1
1
2023-03-01 06:00:44
1
37,866
43,703
1,094
1,094
1
0
0
News
Mobile
Afternoon
0
0
2025-06-24 19:52:59
1
94,377
15,607
1,060
239
1
0
0
Education
Desktop
Morning
1
1
2024-04-02 00:02:30
0.225472
63,975
42,941
2,930
2,019
0
1
0
Sports
Mobile
Afternoon
1
0
2024-11-04 02:14:32
0.689078
28,438
37,406
1,309
1,309
0
0
0
Comedy
Mobile
Night
0
0
2023-05-24 14:35:07
1
45,983
2,498
3,527
2,696
0
0
0
Sports
Desktop
Afternoon
0
0
2023-08-04 19:18:53
0.764389
58,623
1,099
1,070
1,070
0
0
0
Education
Mobile
Night
1
0
2024-02-06 14:38:55
1
6,706
12,151
665
665
0
0
1
Lifestyle
Mobile
Morning
1
0
2023-04-07 02:54:40
1
79,205
31,126
2,707
2,707
0
0
0
Lifestyle
TV
Evening
1
1
2023-05-30 04:38:27
1
79,932
15,361
286
195
0
0
0
Sports
Desktop
Night
0
0
2025-07-25 20:00:23
0.681818
51,701
46,073
1,987
1,987
0
0
0
News
Mobile
Morning
0
0
2024-02-07 18:08:11
1
36,438
32,184
124
124
1
0
0
Music
Tablet
Night
1
1
2023-01-16 16:46:12
1
84,894
23,271
3,288
65
0
1
0
Gaming
Tablet
Night
0
1
2024-12-29 19:22:06
0.019769
68,929
10,579
2,237
1,165
1
0
0
Music
Tablet
Night
0
0
2024-09-24 11:07:54
0.520787
7,012
24,096
34
34
0
1
0
Comedy
Desktop
Evening
0
1
2023-12-09 08:52:46
1
96,353
45,343
2,420
2,420
0
0
0
News
Tablet
Evening
1
0
2023-08-01 23:14:42
1
18,168
15,491
1,374
1,374
1
0
0
Music
Tablet
Afternoon
0
0
2025-01-05 10:14:22
1
36,376
6,145
2,454
2,454
0
0
0
Music
Tablet
Evening
0
1
2025-05-11 04:40:36
1
551
30,208
1,594
1,299
0
0
0
Tech
Mobile
Afternoon
1
0
2023-02-04 02:33:04
0.814931
61,923
38,709
2,622
2,622
0
0
0
Gaming
Desktop
Afternoon
0
1
2024-07-21 03:14:20
1
End of preview.

YouTube Trending Analytics Dataset – Multi-Region

This dataset was published on Kaggle by Samyakraj Bayar and mirrored here.

Download

The dataset is available as a ZIP archive: YouTube Trending Analytics Dataset – Multi-Region.zip

License

MIT

Downloads last month
14