rustemgareev commited on
Commit
87489df
·
1 Parent(s): f27c116

feat: rename and reorder columns

Browse files
Files changed (2) hide show
  1. README.md +15 -15
  2. data/russian_names.csv +0 -0
README.md CHANGED
@@ -24,25 +24,25 @@ configs:
24
  - "data/russian_names.csv"
25
  dataset_info:
26
  features:
27
- - name: id
28
  dtype: string
29
- - name: name
30
  dtype: string
31
  - name: gender
32
  dtype: string
33
  - name: popularity_rank
34
  dtype: int32
35
- - name: rarity_rank
36
- dtype: int32
37
  - name: popularity_score
38
  dtype: float32
 
 
39
  - name: rarity_score
40
  dtype: float32
41
  splits:
42
  - name: train
43
  num_examples: 12311
44
- download_size: 616878
45
- dataset_size: 616878
46
  ---
47
 
48
  # Russian Names with Popularity Scores
@@ -61,17 +61,17 @@ from datasets import load_dataset
61
  dataset = load_dataset("rustemgareev/russian-names", split='train')
62
 
63
  # Print the first example
64
- print(dataset)
65
  ```
66
  **Example Output:**
67
  ```json
68
  {
69
- "id": "aaron",
70
- "name": "Аарон",
71
  "gender": "m",
72
  "popularity_rank": 1389,
73
- "rarity_rank": 5892,
74
  "popularity_score": 0.8093,
 
75
  "rarity_score": 0.1907
76
  }
77
  ```
@@ -79,13 +79,13 @@ print(dataset)
79
  ## Data Structure
80
 
81
  Each record in the dataset contains the following fields:
82
- * `id` (string): A unique identifier in Latin transliteration.
83
- * `name` (string): The name in Cyrillic script.
84
  * `gender` (string): The gender associated with the name: m (male), f (female).
85
  * `popularity_rank` (integer): The popularity rank of the name. A lower value indicates higher popularity.
86
- * `rarity_rank` (integer): The rarity rank of the name.
87
- * `popularity_score` (float): A normalized popularity score from 0.0 to 1.0.
88
- * `rarity_score` (float): A normalized rarity score.
89
 
90
  ## License
91
 
 
24
  - "data/russian_names.csv"
25
  dataset_info:
26
  features:
27
+ - name: name_cyrl
28
  dtype: string
29
+ - name: name_latn
30
  dtype: string
31
  - name: gender
32
  dtype: string
33
  - name: popularity_rank
34
  dtype: int32
 
 
35
  - name: popularity_score
36
  dtype: float32
37
+ - name: rarity_rank
38
+ dtype: int32
39
  - name: rarity_score
40
  dtype: float32
41
  splits:
42
  - name: train
43
  num_examples: 12311
44
+ download_size: 641074
45
+ dataset_size: 641074
46
  ---
47
 
48
  # Russian Names with Popularity Scores
 
61
  dataset = load_dataset("rustemgareev/russian-names", split='train')
62
 
63
  # Print the first example
64
+ print(dataset[0])
65
  ```
66
  **Example Output:**
67
  ```json
68
  {
69
+ "name_cyrl": "Аарон",
70
+ "name_latn": "Aaron",
71
  "gender": "m",
72
  "popularity_rank": 1389,
 
73
  "popularity_score": 0.8093,
74
+ "rarity_rank": 5892,
75
  "rarity_score": 0.1907
76
  }
77
  ```
 
79
  ## Data Structure
80
 
81
  Each record in the dataset contains the following fields:
82
+ * `name_cyrl` (string): The name in Cyrillic script.
83
+ * `name_latn` (string): The name in Latin script.
84
  * `gender` (string): The gender associated with the name: m (male), f (female).
85
  * `popularity_rank` (integer): The popularity rank of the name. A lower value indicates higher popularity.
86
+ * `popularity_score` (float): A normalized popularity rank from 0.0 to 1.0. A higher value indicates higher popularity.
87
+ * `rarity_rank` (integer): The rarity rank of the name. A lower value indicates higher rarity.
88
+ * `rarity_score` (float): A normalized rarity rank from 0.0 to 1.0. A higher value indicates higher rarity.
89
 
90
  ## License
91
 
data/russian_names.csv CHANGED
The diff for this file is too large to render. See raw diff