Datasets:
Update Yelpdata_663.py
Browse files- Yelpdata_663.py +92 -0
Yelpdata_663.py
CHANGED
@@ -96,6 +96,98 @@ class YelpDataset(datasets.GeneratorBasedBuilder):
|
|
96 |
"cool": datasets.Value("int64"),
|
97 |
"text": datasets.Value("string"),
|
98 |
"date": datasets.Value("string"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
}
|
101 |
),
|
|
|
96 |
"cool": datasets.Value("int64"),
|
97 |
"text": datasets.Value("string"),
|
98 |
"date": datasets.Value("string"),
|
99 |
+
"attributes": datasets.features.Sequence(
|
100 |
+
{ "RestaurantsDelivery":datasets.Value("boolean"),
|
101 |
+
"OutdoorSeating":datasets.Value("boolean"),
|
102 |
+
"BusinessAcceptsCreditCards":datasets.Value("boolean"),
|
103 |
+
"BusinessParking": datasets.features.Sequence(
|
104 |
+
{'garage':datasets.Value("boolean"),
|
105 |
+
'street':datasets.Value("boolean"),
|
106 |
+
'validated':datasets.Value("boolean"),
|
107 |
+
'lot':datasets.Value("boolean"),
|
108 |
+
'valet':datasets.Value("boolean")}),
|
109 |
+
"BikeParking":datasets.Value("boolean"),
|
110 |
+
"RestaurantsPriceRange2":datasets.Value("int64"),
|
111 |
+
"RestaurantsTakeOut":datasets.Value("boolean"),
|
112 |
+
"ByAppointmentOnly":datasets.Value("boolean"),
|
113 |
+
"WiFi":datasets.Value("string"),
|
114 |
+
"Alcohol":datasets.Value("string"),
|
115 |
+
"Caters":datasets.Value("boolean"),
|
116 |
+
'Corkage':datasets.Value("boolean"),
|
117 |
+
'WheelchairAccessible':datasets.Value("boolean"),
|
118 |
+
'HasTV':datasets.Value("boolean"),
|
119 |
+
'Open24Hours':datasets.Value("boolean"),
|
120 |
+
'BikeParking':datasets.Value("boolean"),
|
121 |
+
'Ambience': datasets.features.Sequence(
|
122 |
+
{'touristy': datasets.Value("boolean"),
|
123 |
+
'hipster': datasets.Value("boolean"),
|
124 |
+
'romantic': datasets.Value("boolean"),
|
125 |
+
'divey': datasets.Value("boolean"),
|
126 |
+
'intimate': datasets.Value("boolean"),
|
127 |
+
'trendy': datasets.Value("boolean"),
|
128 |
+
'upscale': datasets.Value("boolean"),
|
129 |
+
'classy': datasets.Value("boolean"),
|
130 |
+
'casual': datasets.Value("boolean")}),
|
131 |
+
'RestaurantsAttire': datasets.Value("string"),
|
132 |
+
'DriveThru':datasets.Value("boolean"),
|
133 |
+
'BusinessAcceptsBitcoin':datasets.Value("boolean"),
|
134 |
+
'NoiseLevel': datasets.Value("string"),
|
135 |
+
'Smoking': datasets.Value("string"),
|
136 |
+
'BestNights':datasets.features.Sequence(
|
137 |
+
{u'monday': datasets.Value("boolean"),
|
138 |
+
u'tuesday': datasets.Value("boolean"),
|
139 |
+
u'wednesday': datasets.Value("boolean"),
|
140 |
+
u'thursday': datasets.Value("boolean"),
|
141 |
+
u'friday': datasets.Value("boolean"),
|
142 |
+
u'saturday': datasets.Value("boolean"),
|
143 |
+
u'sunday': datasets.Value("boolean")}),
|
144 |
+
'GoodForMeal':datasets.features.Sequence(
|
145 |
+
{'dessert': datasets.Value("boolean"),
|
146 |
+
'latenight': datasets.Value("boolean"),
|
147 |
+
'lunch': datasets.Value("boolean"),
|
148 |
+
'dinner': datasets.Value("boolean"),
|
149 |
+
'brunch': datasets.Value("boolean"),
|
150 |
+
'breakfast': datasets.Value("boolean")}),
|
151 |
+
'RestaurantsGoodForGroups':datasets.Value("boolean"),
|
152 |
+
'GoodForDancing':datasets.Value("boolean"),
|
153 |
+
'Music':datasets.features.Sequence(
|
154 |
+
{'dj': datasets.Value("boolean"),
|
155 |
+
'background_music': datasets.Value("boolean"),
|
156 |
+
'no_music': datasets.Value("boolean"),
|
157 |
+
'jukebox': datasets.Value("boolean"),
|
158 |
+
'live': datasets.Value("boolean"),
|
159 |
+
'video': datasets.Value("boolean"),
|
160 |
+
'karaoke': datasets.Value("boolean")}),
|
161 |
+
'DietaryRestrictions':datasets.features.Sequence(
|
162 |
+
{'dairy-free': datasets.Value("boolean"),
|
163 |
+
'gluten-free': datasets.Value("boolean"),
|
164 |
+
'vegan': datasets.Value("boolean"),
|
165 |
+
'kosher': datasets.Value("boolean"),
|
166 |
+
'halal': datasets.Value("boolean"),
|
167 |
+
'soy-free': datasets.Value("boolean"),
|
168 |
+
'vegetarian': datasets.Value("boolean")}),
|
169 |
+
'RestaurantsReservations':datasets.Value("boolean"),
|
170 |
+
'HairSpecializesIn':datasets.features.Sequence(
|
171 |
+
{'straightperms': datasets.Value("boolean"),
|
172 |
+
'coloring': datasets.Value("boolean"),
|
173 |
+
'extensions': datasets.Value("boolean"),
|
174 |
+
'africanamerican': datasets.Value("boolean"),
|
175 |
+
'curly': datasets.Value("boolean"),
|
176 |
+
'kids': datasets.Value("boolean"),
|
177 |
+
'perms': datasets.Value("boolean"),
|
178 |
+
'asian': datasets.Value("boolean")}),
|
179 |
+
'BYOBCorkage': datasets.Value("string"),
|
180 |
+
'BYOB':datasets.Value("boolean"),
|
181 |
+
'DogsAllowed':datasets.Value("boolean"),
|
182 |
+
'RestaurantsCounterService':datasets.Value("boolean"),
|
183 |
+
'RestaurantsTableService':datasets.Value("boolean"),
|
184 |
+
'CoatCheck':datasets.Value("boolean"),
|
185 |
+
'AgesAllowed': datasets.Value("string"),
|
186 |
+
'AcceptsInsurance':datasets.Value("boolean"),
|
187 |
+
'HappyHour':datasets.Value("boolean"),
|
188 |
+
'GoodForKids':datasets.Value("boolean"),
|
189 |
+
}
|
190 |
+
),
|
191 |
|
192 |
}
|
193 |
),
|