test
Browse files
test.py
CHANGED
|
@@ -37,7 +37,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
| 37 |
if self.config.name == "customers":
|
| 38 |
features = datasets.Features(
|
| 39 |
{
|
| 40 |
-
"customer_id": datasets.Value("
|
| 41 |
"name": datasets.Value("string"),
|
| 42 |
"age": datasets.Value("int32"),
|
| 43 |
}
|
|
@@ -45,7 +45,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
| 45 |
elif self.config.name == "products":
|
| 46 |
features = datasets.Features(
|
| 47 |
{
|
| 48 |
-
"product_id": datasets.Value("
|
| 49 |
"name": datasets.Value("string"),
|
| 50 |
"price": datasets.Value("float32"),
|
| 51 |
}
|
|
|
|
| 37 |
if self.config.name == "customers":
|
| 38 |
features = datasets.Features(
|
| 39 |
{
|
| 40 |
+
"customer_id": datasets.Value("int32"),
|
| 41 |
"name": datasets.Value("string"),
|
| 42 |
"age": datasets.Value("int32"),
|
| 43 |
}
|
|
|
|
| 45 |
elif self.config.name == "products":
|
| 46 |
features = datasets.Features(
|
| 47 |
{
|
| 48 |
+
"product_id": datasets.Value("int32"),
|
| 49 |
"name": datasets.Value("string"),
|
| 50 |
"price": datasets.Value("float32"),
|
| 51 |
}
|