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 54 new columns ({'collect_cnt', 'reduce_similar_cnt', 'comment_like_user_num', 'delete_comment_user_num', 'cancel_follow_cnt', 'double_click_cnt', 'report_cnt', 'long_time_play_user_num', 'video_width', 'valid_play_cnt', 'long_time_play_cnt', 'cancel_collect_user_num', 'video_type', 'like_user_num', 'reduce_similar_user_num', 'share_user_num', 'show_user_num', 'comment_cnt', 'show_cnt', 'play_cnt', 'author_id', 'collect_user_num', 'like_cnt', 'short_time_play_cnt', 'complete_play_cnt', 'visible_status', 'report_user_num', 'music_id', 'click_like_cnt', 'short_time_play_user_num', 'comment_stay_duration', 'direct_comment_cnt', 'follow_user_num', 'download_user_num', 'valid_play_user_num', 'complete_play_user_num', 'video_height', 'upload_type', 'comment_like_cnt', 'video_tag_id', 'delete_comment_cnt', 'cancel_like_user_num', 'download_cnt', 'upload_dt', 'video_tag_name', 'play_progress', 'cancel_like_cnt', 'cancel_follow_user_num', 'share_cnt', 'follow_cnt', 'comment_user_num', 'reply_comment_cnt', 'cancel_collect_cnt', 'play_user_num'}) and 4 missing columns ({'time', 'timestamp', 'watch_ratio', 'user_id'}).

This happened while the csv dataset builder was generating data using

/tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/item_daily_features.csv.gz, [/tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/big_matrix.csv.gz (origin=hf://datasets/hiiamkik/kuai-rec-data@9891fa8720f44965261fe32977fed1da77b90efd/big_matrix.csv.gz), /tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/item_daily_features.csv.gz (origin=hf://datasets/hiiamkik/kuai-rec-data@9891fa8720f44965261fe32977fed1da77b90efd/item_daily_features.csv.gz), /tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/small_matrix.csv.gz (origin=hf://datasets/hiiamkik/kuai-rec-data@9891fa8720f44965261fe32977fed1da77b90efd/small_matrix.csv.gz)]

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.12/site-packages/datasets/builder.py", line 1890, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 760, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              video_id: int64
              date: int64
              author_id: int64
              video_type: string
              upload_dt: string
              upload_type: string
              visible_status: string
              video_duration: double
              video_width: int64
              video_height: int64
              music_id: int64
              video_tag_id: int64
              video_tag_name: string
              show_cnt: int64
              show_user_num: int64
              play_cnt: int64
              play_user_num: int64
              play_duration: int64
              complete_play_cnt: int64
              complete_play_user_num: int64
              valid_play_cnt: int64
              valid_play_user_num: int64
              long_time_play_cnt: int64
              long_time_play_user_num: int64
              short_time_play_cnt: int64
              short_time_play_user_num: int64
              play_progress: double
              comment_stay_duration: int64
              like_cnt: int64
              like_user_num: int64
              click_like_cnt: int64
              double_click_cnt: int64
              cancel_like_cnt: int64
              cancel_like_user_num: int64
              comment_cnt: int64
              comment_user_num: int64
              direct_comment_cnt: int64
              reply_comment_cnt: int64
              delete_comment_cnt: int64
              delete_comment_user_num: int64
              comment_like_cnt: int64
              comment_like_user_num: int64
              follow_cnt: int64
              follow_user_num: int64
              cancel_follow_cnt: int64
              cancel_follow_user_num: int64
              share_cnt: int64
              share_user_num: int64
              download_cnt: int64
              download_user_num: int64
              report_cnt: int64
              report_user_num: int64
              reduce_similar_cnt: int64
              reduce_similar_user_num: int64
              collect_cnt: double
              collect_user_num: double
              cancel_collect_cnt: double
              cancel_collect_user_num: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 7642
              to
              {'user_id': Value('int64'), 'video_id': Value('int64'), 'play_duration': Value('int64'), 'video_duration': Value('int64'), 'time': Value('string'), 'date': Value('int64'), 'timestamp': Value('float64'), 'watch_ratio': 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 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1892, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              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 54 new columns ({'collect_cnt', 'reduce_similar_cnt', 'comment_like_user_num', 'delete_comment_user_num', 'cancel_follow_cnt', 'double_click_cnt', 'report_cnt', 'long_time_play_user_num', 'video_width', 'valid_play_cnt', 'long_time_play_cnt', 'cancel_collect_user_num', 'video_type', 'like_user_num', 'reduce_similar_user_num', 'share_user_num', 'show_user_num', 'comment_cnt', 'show_cnt', 'play_cnt', 'author_id', 'collect_user_num', 'like_cnt', 'short_time_play_cnt', 'complete_play_cnt', 'visible_status', 'report_user_num', 'music_id', 'click_like_cnt', 'short_time_play_user_num', 'comment_stay_duration', 'direct_comment_cnt', 'follow_user_num', 'download_user_num', 'valid_play_user_num', 'complete_play_user_num', 'video_height', 'upload_type', 'comment_like_cnt', 'video_tag_id', 'delete_comment_cnt', 'cancel_like_user_num', 'download_cnt', 'upload_dt', 'video_tag_name', 'play_progress', 'cancel_like_cnt', 'cancel_follow_user_num', 'share_cnt', 'follow_cnt', 'comment_user_num', 'reply_comment_cnt', 'cancel_collect_cnt', 'play_user_num'}) and 4 missing columns ({'time', 'timestamp', 'watch_ratio', 'user_id'}).
              
              This happened while the csv dataset builder was generating data using
              
              /tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/item_daily_features.csv.gz, [/tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/big_matrix.csv.gz (origin=hf://datasets/hiiamkik/kuai-rec-data@9891fa8720f44965261fe32977fed1da77b90efd/big_matrix.csv.gz), /tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/item_daily_features.csv.gz (origin=hf://datasets/hiiamkik/kuai-rec-data@9891fa8720f44965261fe32977fed1da77b90efd/item_daily_features.csv.gz), /tmp/hf-datasets-cache/medium/datasets/31771238719614-config-parquet-and-info-hiiamkik-kuai-rec-data-5d08d8cf/hub/datasets--hiiamkik--kuai-rec-data/snapshots/9891fa8720f44965261fe32977fed1da77b90efd/small_matrix.csv.gz (origin=hf://datasets/hiiamkik/kuai-rec-data@9891fa8720f44965261fe32977fed1da77b90efd/small_matrix.csv.gz)]
              
              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
play_duration
int64
video_duration
int64
time
string
date
int64
timestamp
float64
watch_ratio
float64
0
3,649
13,838
10,867
2020-07-05 00:08:23.438
20,200,705
1,593,878,903.438
1.273397
0
9,598
13,665
10,984
2020-07-05 00:13:41.297
20,200,705
1,593,879,221.297
1.244082
0
5,262
851
7,908
2020-07-05 00:16:06.687
20,200,705
1,593,879,366.687
0.107613
0
1,963
862
9,590
2020-07-05 00:20:26.792
20,200,705
1,593,879,626.792
0.089885
0
8,234
858
11,000
2020-07-05 00:43:05.128
20,200,705
1,593,880,985.128
0.078
0
8,228
13,484
8,576
2020-07-05 01:00:25.5
20,200,705
1,593,882,025.5
1.572295
0
6,789
2,327
13,267
2020-07-05 03:28:02.32
20,200,705
1,593,890,882.32
0.175398
0
6,812
23,731
10,728
2020-07-05 22:22:11.813
20,200,705
1,593,958,931.813
2.212062
0
183
796
6,100
2020-07-06 00:14:06.245
20,200,706
1,593,965,646.245
0.130492
0
169
13,735
9,767
2020-07-06 00:14:48.8
20,200,706
1,593,965,688.8
1.406266
0
1,988
13,287
7,034
2020-07-06 00:15:03.506
20,200,706
1,593,965,703.506
1.888968
0
5,274
13,002
6,200
2020-07-06 01:03:27.933
20,200,706
1,593,968,607.933
2.097097
0
179
13,091
6,067
2020-07-06 01:04:54.916
20,200,706
1,593,968,694.916
2.157739
0
3,647
813
11,967
2020-07-06 01:06:21.88
20,200,706
1,593,968,781.88
0.067937
0
8,248
14,210
11,000
2020-07-06 01:06:36.499
20,200,706
1,593,968,796.499
1.291818
0
206
818
9,067
2020-07-06 01:07:48.597
20,200,706
1,593,968,868.597
0.090217
0
6,801
13,422
6,933
2020-07-06 01:08:02.473
20,200,706
1,593,968,882.473
1.935958
0
171
173,601
5,217
2020-07-06 01:11:24.795
20,200,706
1,593,969,084.795
33.276021
0
3,672
13,267
9,200
2020-07-06 01:14:03.743
20,200,706
1,593,969,243.743
1.442065
0
2,000
879
12,260
2020-07-06 01:14:48.155
20,200,706
1,593,969,288.155
0.071697
0
5,219
13,807
9,567
2020-07-06 01:20:48.754
20,200,706
1,593,969,648.754
1.44319
0
2,007
13,266
59,634
2020-07-06 01:22:00.855
20,200,706
1,593,969,720.855
0.222457
0
3,657
838
10,734
2020-07-06 01:24:26.108
20,200,706
1,593,969,866.108
0.07807
0
211
13,800
4,949
2020-07-06 01:28:45.279
20,200,706
1,593,970,125.279
2.788442
0
5,287
841
9,651
2020-07-06 01:29:14.85
20,200,706
1,593,970,154.85
0.087141
0
1,913
835
12,700
2020-07-06 01:29:29.688
20,200,706
1,593,970,169.688
0.065748
0
3,684
860
10,600
2020-07-06 01:54:26.894
20,200,706
1,593,971,666.894
0.081132
0
9,591
874
11,312
2020-07-06 02:01:13.383
20,200,706
1,593,972,073.383
0.077263
0
6,829
861
7,734
2020-07-06 03:01:18.678
20,200,706
1,593,975,678.678
0.111327
0
1,997
14,558
11,367
2020-07-06 03:06:14.376
20,200,706
1,593,975,974.376
1.280725
0
1,943
14,812
6,315
2020-07-06 03:07:16.42
20,200,706
1,593,976,036.42
2.345527
0
6,731
14,407
12,500
2020-07-06 03:17:25.726
20,200,706
1,593,976,645.726
1.15256
0
5,205
780
6,067
2020-07-06 03:54:53.779
20,200,706
1,593,978,893.779
0.128564
0
5,233
14,407
10,751
2020-07-06 03:57:45.068
20,200,706
1,593,979,065.068
1.340061
0
6,843
851
7,700
2020-07-06 03:59:50.267
20,200,706
1,593,979,190.267
0.110519
0
1,986
14,418
9,467
2020-07-06 04:02:25.847
20,200,706
1,593,979,345.847
1.522975
0
217
14,311
5,367
2020-07-06 04:05:33.042
20,200,706
1,593,979,533.042
2.66648
0
2,008
814
6,000
2020-07-06 04:08:41.264
20,200,706
1,593,979,721.264
0.135667
0
5,290
753
8,167
2020-07-06 04:14:56.016
20,200,706
1,593,980,096.016
0.0922
0
8,261
845
7,734
2020-07-06 04:20:39.184
20,200,706
1,593,980,439.184
0.109258
0
8,242
14,543
6,134
2020-07-06 04:22:59.18
20,200,706
1,593,980,579.18
2.370884
0
8,259
14,502
6,034
2020-07-06 04:30:47.427
20,200,706
1,593,981,047.427
2.403381
0
8,220
14,512
5,734
2020-07-06 04:36:14.697
20,200,706
1,593,981,374.697
2.530869
0
1,965
833
8,336
2020-07-06 04:37:49.256
20,200,706
1,593,981,469.256
0.099928
0
6,775
725
11,734
2020-07-06 04:40:10.043
20,200,706
1,593,981,610.043
0.061786
0
8,239
14,797
7,134
2020-07-06 04:40:55.535
20,200,706
1,593,981,655.535
2.074152
0
5,293
14,580
9,700
2020-07-06 04:53:41.019
20,200,706
1,593,982,421.019
1.503093
0
6,811
14,559
6,791
2020-07-06 04:55:14.61
20,200,706
1,593,982,514.61
2.143867
0
6,803
820
6,334
2020-07-06 04:59:56.316
20,200,706
1,593,982,796.316
0.12946
0
9,645
14,814
8,493
2020-07-06 05:18:38.198
20,200,706
1,593,983,918.198
1.74426
0
3,664
840
11,796
2020-07-06 05:26:26.994
20,200,706
1,593,984,386.994
0.071211
0
8,260
14,500
9,150
2020-07-06 05:26:41.79
20,200,706
1,593,984,401.79
1.584699
0
5,292
767
9,667
2020-07-06 05:35:33.264
20,200,706
1,593,984,933.264
0.079342
0
3,578
827
11,728
2020-07-06 05:50:23.186
20,200,706
1,593,985,823.186
0.070515
0
9,595
810
10,067
2020-07-06 05:56:37.622
20,200,706
1,593,986,197.622
0.080461
0
3,594
796
10,317
2020-07-06 06:19:15.186
20,200,706
1,593,987,555.186
0.077154
0
2,006
14,324
11,883
2020-07-06 06:19:29.916
20,200,706
1,593,987,569.916
1.20542
0
9,594
14,407
7,234
2020-07-06 06:27:17.978
20,200,706
1,593,988,037.978
1.991568
0
9,617
839
12,367
2020-07-06 06:43:26.293
20,200,706
1,593,989,006.293
0.067842
0
2,013
840
7,240
2020-07-06 07:07:53.409
20,200,706
1,593,990,473.409
0.116022
0
9,624
781
6,920
2020-07-06 07:11:16.542
20,200,706
1,593,990,676.542
0.112861
0
110
14,368
10,200
2020-07-06 07:18:48.243
20,200,706
1,593,991,128.243
1.408627
0
3,518
787
13,861
2020-07-06 07:41:26.815
20,200,706
1,593,992,486.815
0.056778
0
1,915
13,925
11,967
2020-07-06 08:10:18.33
20,200,706
1,593,994,218.33
1.163617
0
8,264
14,330
6,500
2020-07-06 08:14:12.8
20,200,706
1,593,994,452.8
2.204615
0
9,613
891
8,067
2020-07-06 08:15:31.738
20,200,706
1,593,994,531.738
0.11045
0
5,277
748
11,612
2020-07-06 08:25:40.114
20,200,706
1,593,995,140.114
0.064416
0
9,568
14,328
5,000
2020-07-06 08:29:33.467
20,200,706
1,593,995,373.467
2.8656
0
1,975
13,932
9,010
2020-07-06 08:37:37.335
20,200,706
1,593,995,857.335
1.546282
0
5,265
14,367
9,000
2020-07-06 08:49:19.617
20,200,706
1,593,996,559.617
1.596333
0
5,273
13,785
12,300
2020-07-06 08:53:44.588
20,200,706
1,593,996,824.588
1.120732
0
5,315
841
10,667
2020-07-06 08:56:06.422
20,200,706
1,593,996,966.422
0.078841
0
5,304
834
10,244
2020-07-06 08:56:22.182
20,200,706
1,593,996,982.182
0.081414
0
8,183
737
7,129
2020-07-06 09:06:30.865
20,200,706
1,593,997,590.865
0.103381
0
3,650
14,296
8,500
2020-07-06 09:09:52.768
20,200,706
1,593,997,792.768
1.681882
0
228
29,405
12,300
2020-07-06 09:12:44.285
20,200,706
1,593,997,964.285
2.39065
0
3,654
824
9,500
2020-07-06 09:19:46.646
20,200,706
1,593,998,386.646
0.086737
0
6,839
898
45,379
2020-07-06 09:23:56.36
20,200,706
1,593,998,636.36
0.019789
0
6,757
14,332
11,500
2020-07-06 09:25:44.596
20,200,706
1,593,998,744.596
1.246261
0
8,222
796
11,534
2020-07-06 09:45:09.401
20,200,706
1,593,999,909.401
0.069013
0
6,834
14,202
12,867
2020-07-06 10:00:29.185
20,200,706
1,594,000,829.185
1.103754
0
8,256
746
8,117
2020-07-06 10:02:03.595
20,200,706
1,594,000,923.595
0.091906
0
133
14,377
5,848
2020-07-06 10:08:17.846
20,200,706
1,594,001,297.846
2.458447
0
8,283
12,387
6,967
2020-07-06 22:14:13.939
20,200,706
1,594,044,853.939
1.777953
0
9,667
850
10,550
2020-07-06 22:14:28.912
20,200,706
1,594,044,868.912
0.080569
0
254
14,737
9,934
2020-07-06 22:16:24.365
20,200,706
1,594,044,984.365
1.483491
0
9,659
848
16,384
2020-07-06 22:18:34.606
20,200,706
1,594,045,114.606
0.051758
0
6,854
851
6,000
2020-07-06 22:19:46.671
20,200,706
1,594,045,186.671
0.141833
0
5,331
13,460
11,434
2020-07-06 22:20:15.366
20,200,706
1,594,045,215.366
1.177191
0
9,653
13,838
10,967
2020-07-06 22:20:57.892
20,200,706
1,594,045,257.892
1.261785
0
6,767
13,324
10,534
2020-07-06 22:23:08.248
20,200,706
1,594,045,388.248
1.264857
0
5,326
13,849
11,167
2020-07-06 22:23:36.914
20,200,706
1,594,045,416.914
1.240172
0
3,714
13,238
9,067
2020-07-06 22:23:51.637
20,200,706
1,594,045,431.637
1.46002
0
2,040
13,276
10,000
2020-07-06 22:28:55.393
20,200,706
1,594,045,735.393
1.3276
0
3,725
0
10,688
2020-07-07 00:05:20.21
20,200,707
1,594,051,520.21
0
0
256
13,448
12,075
2020-07-07 00:05:42.817
20,200,707
1,594,051,542.817
1.113706
0
233
13,874
12,267
2020-07-07 00:07:08.999
20,200,707
1,594,051,628.999
1.131002
0
229
13,545
7,600
2020-07-07 00:07:38.738
20,200,707
1,594,051,658.738
1.782237
0
237
13,858
10,380
2020-07-07 00:08:21.538
20,200,707
1,594,051,701.538
1.335067
0
2,031
809
10,267
2020-07-07 00:09:05.872
20,200,707
1,594,051,745.872
0.078796
End of preview.

No dataset card yet

Downloads last month
54

Models trained or fine-tuned on hiiamkik/kuai-rec-data