Datasets:
Upload letter.py
Browse files
letter.py
CHANGED
@@ -12,7 +12,7 @@ import pandas
|
|
12 |
VERSION = datasets.Version("1.0.0")
|
13 |
|
14 |
_ENCODING_DICS = {
|
15 |
-
"letter": {letter: i for i, letter in
|
16 |
}
|
17 |
|
18 |
DESCRIPTION = "Letter dataset."
|
|
|
12 |
VERSION = datasets.Version("1.0.0")
|
13 |
|
14 |
_ENCODING_DICS = {
|
15 |
+
"letter": {letter: i for i, letter in enumerate(string.ascii_uppercase)}
|
16 |
}
|
17 |
|
18 |
DESCRIPTION = "Letter dataset."
|