Dataset Preview
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 4 new columns ({'city', 'id', 'name', 'geo_hash'}) and 7 missing columns ({'fuel_type', 'updated_time', 'station_id', 'brand', 'latitude', 'longitude', 'price'}).

This happened while the csv dataset builder was generating data using

hf://datasets/cloudy-sfu/Gaspy/stations.csv (at revision 31e6f86706ad0325714b137f0f15c198e044c90d)

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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: string
              city: string
              name: string
              geo_hash: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 697
              to
              {'station_id': Value(dtype='string', id=None), 'fuel_type': Value(dtype='string', id=None), 'brand': Value(dtype='string', id=None), 'latitude': Value(dtype='float64', id=None), 'longitude': Value(dtype='float64', id=None), 'price': Value(dtype='float64', id=None), 'updated_time': Value(dtype='string', id=None)}
              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 1436, 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 1053, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1873, 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 4 new columns ({'city', 'id', 'name', 'geo_hash'}) and 7 missing columns ({'fuel_type', 'updated_time', 'station_id', 'brand', 'latitude', 'longitude', 'price'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/cloudy-sfu/Gaspy/stations.csv (at revision 31e6f86706ad0325714b137f0f15c198e044c90d)
              
              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.

station_id
string
fuel_type
string
brand
string
latitude
float64
longitude
float64
price
float64
updated_time
string
O5mRxVaDlHdKxBhapgfvqJEUAQEWp8R6
91
BP
-43.495337
172.710427
251.9
2025-04-22 00:46:52+00:00
kwejMXC1HBFu1gNvMtq6lnfiuku6sncA
91
Allied
-43.580367
172.40964
241.9
2025-04-22 02:59:37+00:00
n1Sxq87V7RAJCifj0PfuSLUNVrowImRZ
91
Caltex
-38.189008
175.209868
270.7
2025-04-21 23:56:34+00:00
tzGsAwxg5m84oxeRIxH8a6pqxbWjBEJP
91
BP
-43.524064
172.369376
259.9
2025-04-22 03:39:22+00:00
vJw47fT4HEScwovs5Oe1A6zzRiPXVqnL
91
Z
-43.451676
172.627772
259.9
2025-04-22 05:26:27+00:00
G2bClVVZ8nSW8R7AlJy3HQ1M5ELaT3Es
91
Mobil
-38.184848
175.212445
270.9
2025-04-21 23:53:16+00:00
bnthNef7ad0KLaFbwLNqBivKExIIxxnw
91
g.a.s.
-37.887741
175.775084
269.7
2025-04-21 20:23:29+00:00
5BfAU8vjVS067Lnsxd4EnxjAgHqs514a
91
NPD Self Serve
-43.628951
172.72451
250.8
2025-04-21 22:57:25+00:00
oQeUL02GkxMBMoCCrZR7SkHoWVD6GTRg
91
Challenge
-43.662924
172.54838
256.9
2025-04-21 18:57:15+00:00
uwIbEk0tZL4BLfbclypHBt1WB3y3HkjB
91
Challenge
-41.275839
174.904797
259.9
2025-04-22 03:48:41+00:00
ckmqYcHJ6KdUjEhuRDh0Ntm6mKBRqoW5
91
Mobil
-37.916864
175.555373
267.9
2025-04-21 23:26:22+00:00
zF2iOzvuo5gsj6NtBRf3CW5RgcUtLsJi
91
Waitomo
-41.218253
174.807252
253.9
2025-04-22 00:55:44+00:00
xpLFKKRmomoALptDjSzmMJ35moXrRqYg
91
Allied
-43.759471
172.811842
263.9
2025-04-21 20:39:03+00:00
BUnuz7YXEdkAReg0tIc3WKRrwgYMtP2A
91
Caltex
-41.161403
174.981929
259.9
2025-04-22 03:52:33+00:00
WpZ4AJGt1ouNE2sigemBqnKPaPcXVAyF
91
Mobil
-37.102666
174.951934
265.9
2025-04-22 04:23:50+00:00
F5c40ows0pApAY320TmpD40V7ZaoIzEZ
91
g.a.s.
-43.363565
172.577008
255.9
2025-04-21 23:11:19+00:00
Kx77RE0RKtNcTAHf6uBaW2SsEa3cvlxS
91
NPD Self Serve
-43.380703
172.53517
242.6
2025-04-22 02:54:42+00:00
xRqzz0r0jVpyD63WSFjhpZoGglWhHuf6
91
Allied
-41.352506
175.205555
286
2025-04-21 22:55:07+00:00
g1idkA1SEtZSFkVgnETj5ObgzWDwmf0p
91
BP
-37.13715
174.885109
255.9
2025-04-22 03:41:43+00:00
Zu8KxI3jxgu42S57EDFsXDDSWVbLqHHr
91
null
-43.771184
172.790186
275
2025-04-21 20:41:06+00:00
3kJ3uOjlC5gRQZHGYYCJIRpumBaTe0jy
91
Waitomo
-37.114007
174.833992
245.9
2025-04-22 03:19:28+00:00
KN5O5PWHrgShL4pSrZkUhn1H8ntxJn5Q
91
g.a.s.
-36.880222
175.033842
265.9
2025-04-21 22:28:48+00:00
iHwWXXFbKHGcD6gtee7tsu1kB8ijXepr
91
null
-40.89447
174.980774
257.9
2025-04-21 22:15:01+00:00
5GoP0g6831PfGlvjPx3GpxopaeX3WZZr
91
Allied
-43.31132
172.379184
267.9
2025-04-21 22:28:00+00:00
TO2hrIEpYKMcDzGRePQf7TIcwTZASQmV
91
Waitomo
-37.529874
175.56749
256.9
2025-04-21 23:53:52+00:00
caYOCD8k28vr6Jlab4VyU67Gja1lMpbV
91
g.a.s.
-36.711566
174.669303
269.9
2025-04-22 04:41:23+00:00
zKnbx4IDQMcfWvsMDiClEUHVqLErtT3J
91
g.a.s.
-37.399392
175.46754
263.9
2025-04-22 03:59:17+00:00
5WVQMs1iozTjCea7MRStVPmszw7sdbzP
91
Mobil
-37.761473
175.753134
265.9
2025-04-22 04:36:54+00:00
mvhD7HYka0tHfBvz6faHGYOTNWQLtbtq
91
Mobil
-36.606992
174.698397
268.9
2025-04-21 22:04:40+00:00
mKSojcMrfeloW1nskuVsyqTdYwPEJ3X7
91
BP
-36.660043
174.666999
265.9
2025-04-21 21:37:42+00:00
xfantB8SrbmKmqnnq2yxafNESdGjNqFr
91
NPD Self Serve
-43.55076
172.599603
243.6
2025-04-22 04:30:59+00:00
0Hf4wGsoECK4QOPIr0KoR0rlYIjP6mQT
91
Gull
-43.56075
172.549466
245.9
2025-04-22 04:42:25+00:00
t3BjMXUjGluFp2H4oEQdboXq1VGvs17w
91
McKeown
-43.499182
172.543308
248.9
2025-04-22 03:25:50+00:00
qyHhwGROZQE2NtlpSfsb6CzPkoT0GoKj
91
NPD
-43.518471
172.527171
249.8
2025-04-22 04:17:33+00:00
nGCVQWRIyUimHmKEi6EODKKrJhXNjR24
91
Z
-43.47072
172.569771
256.9
2025-04-21 21:55:08+00:00
eMdLUpKfC0RrHK7gLCuNxIGTYhpMuZVa
91
Mobil
-43.512215
172.504129
249.9
2025-04-22 03:31:32+00:00
360LSct55EaFJqNiywQ7ikik0cs1AEEB
91
BP
-43.572002
172.571007
259.9
2025-04-22 04:38:27+00:00
aVXFl4nhpCQEN6EwVMn7tEx3KjZrE6JK
91
NPD Self Serve
-43.49185
172.572919
243.6
2025-04-21 19:43:29+00:00
LcDzB4ET4V2DZvZ01xHaEnE6NZUhSTBd
91
Caltex
-43.543643
172.523
255.7
2025-04-22 02:43:26+00:00
UNQwRtPaQAIjD6Rpio2pAVy2VM505vmE
91
BP
-43.564407
172.608424
255.9
2025-04-21 23:56:10+00:00
vCkBUF4uSpWBoQacClZVWHghxpfjysOf
91
Challenge
-43.582526
172.569125
255.9
2025-04-21 23:36:29+00:00
YR7MMdi7wcICCo1j8Fl0Zyj5tga4pYib
91
BP
-43.478896
172.555431
256.9
2025-04-21 21:53:20+00:00
L4lO7HfLLBUgOvBFDLjmWX7rStnJhi7t
91
McKeown
-43.549257
172.511368
243.9
2025-04-21 16:08:57+00:00
M8vbFlk4mwOkAF3PYOepm4WtksNjrYap
91
NPD
-43.584977
172.3899
249.8
2025-04-22 02:20:18+00:00
DWO7TNCsKYXzYt4xmCGWHiBgnrmVTY5i
91
NPD Self Serve
-43.463045
172.583217
243.6
2025-04-22 05:23:13+00:00
HG6NLheFx4OYbPZqqUn3fL6lCS2V7BnY
91
Caltex
-43.529014
172.604679
249.7
2025-04-22 04:59:17+00:00
usnr1luwIxzxd6wgbFqtxCXFVMx7YXoW
91
Z
-43.510561
172.607665
254.9
2025-04-21 17:03:34+00:00
AXi6MzQcZJd3YziVjSLBRz28Rpx52B18
91
Z
-43.490092
172.59287
257.9
2025-04-21 21:04:18+00:00
26pIByk8Si4Q321jxb23bGuF6LQnWPae
91
BP
-43.518404
172.589996
254.9
2025-04-22 05:45:38+00:00
i3QKWjZVViAXVbUxNKdew4jUf1rdHkGU
91
Z
-43.545868
172.608683
255.9
2025-04-22 04:27:17+00:00
sABiRUgQcijvaIvcGkicyrif1qy55fh5
91
Challenge
-43.504809
172.601542
258.9
2025-04-21 23:43:52+00:00
RCmFrt6dBf0v4i5nO2BeIBz0zYPbrAje
91
BP
-43.481351
172.592643
259.9
2025-04-22 05:35:20+00:00
OxshaIgpe7owZEPxrRVWQ6V4osddxqy0
91
Gull
-43.540302
172.616825
247.9
2025-04-22 05:24:48+00:00
86BPfIIN2OIPGwGDWcUESa5vcQeffoX4
91
Mobil
-43.519345
172.579642
254.9
2025-04-22 05:49:30+00:00
MDeVPf50RpKpirI4XWw30DHEdnwjWUAa
91
Mobil
-43.529296
172.6091
249.6
2025-04-22 04:59:11+00:00
r213xd527BsBYEzf7uvcxjkSgIi0scIh
91
Caltex
-43.537472
172.597636
255.7
2025-04-22 02:52:02+00:00
7S1CGvOFWQZqVEO3wmbloC7fDH3r2OSb
91
Caltex
-43.487789
172.5877
253.7
2025-04-22 05:36:25+00:00
d0UBbSq0xABXtHOyx1TTxuMJ5m5lmjRZ
91
BP
-43.531272
172.576569
249.9
2025-04-22 05:53:50+00:00
jTkTtnMmrM82PK2ziCMsipcMd7T5uGHu
91
Z
-43.538933
172.567868
251.9
2025-04-22 05:39:53+00:00
xhVvZRXXk012zIKrhRjKK3t0tkYz7wMe
91
Gull
-43.538953
172.562128
245.9
2025-04-22 05:42:45+00:00
1nX6p7xqUuMrLvA4ny3ZJON8IMEbslHb
91
NPD Self Serve
-43.557518
172.524008
243.6
2025-04-21 23:39:16+00:00
yssquunbFn0oY32z4bopAgZ803Qqav8L
91
NPD Self Serve
-43.546728
172.561621
243.6
2025-04-22 05:22:30+00:00
T65pkWf4QuZWq3kLSghnulLCHN8WzPby
91
Tasman Fuels
-43.565076
172.524516
238.9
2025-04-22 06:02:55+00:00
lUJRXKLglcNtgK1bUzSYS5nOqR75SUpa
91
Z
-43.520158
172.534507
253.9
2025-04-21 17:27:38+00:00
A04SN8DhaEixGpBjWqO3a1wKNwuWyo1x
91
Allied
-43.583189
172.510294
241.9
2025-04-21 23:42:33+00:00
UAcdNqgVDGSGDGOjjJeUDeZKsl6PT5rG
91
BP
-43.51585
172.572321
256.9
2025-04-21 21:15:51+00:00
TarpTtIhhCh4OK1GNd2ynZHhLKfWK6WW
91
NPD Self Serve
-43.538817
172.5483
243.6
2025-04-22 00:54:53+00:00
JXPiaNnruwQcOGI4U3BdvmxMzCYikmQk
91
NPD Self Serve
-43.300921
172.595895
242.6
2025-04-22 04:29:25+00:00
S5XrqwXhZuo1cvgohnvdmQwKkowP5CwA
91
Z
-41.319965
174.79457
264.9
2025-04-22 00:15:24+00:00
zubb6MUNqIRuCilC3oRpybOOqK0jodJ3
91
Z
-43.304098
172.589815
254.9
2025-04-21 21:43:52+00:00
WbmKRJ4azmOf71KrAZeRndZ47K1xDd84
91
Z
-41.313368
174.782153
265.9
2025-04-21 23:02:43+00:00
jtBOJDI4AEfgSg4VtlaKnRttzUT6MP2L
91
Z
-41.325275
174.810875
267.9
2025-04-22 03:14:45+00:00
RqZFWjYoEOMqvbsGohXYyu1AAKckjktP
91
BP
-43.54216
172.687299
259.9
2025-04-22 00:35:03+00:00
eBGVv5PEioSabOJU4hUMojJwaXxd08pc
91
BP
-43.49762
172.642357
259.9
2025-04-21 21:53:41+00:00
IWR7l4cLwJKKVKgUaKNwDozSZNHNIWKe
91
Challenge
-43.563602
172.677331
259.9
2025-04-21 21:56:36+00:00
bV2jerzIXtSxUwZexYgr2pDqhrruPRPy
91
Z
-43.543248
172.667776
259.9
2025-04-22 02:31:58+00:00
Yz6D5eu2VikjbcBKX6qzkqBY0iWzXgzZ
91
Caltex
-43.539791
172.702449
255.7
2025-04-21 11:44:24+00:00
PY6pEUNjlLsqqKgJHciuG6OWUz1YLZtk
91
NPD Self Serve
-43.570132
172.685614
243.6
2025-04-21 19:11:08+00:00
qAGQVwi6uXsEQpw12XVBxTIzrIUQWp1y
91
BP
-43.525318
172.673307
255.9
2025-04-21 20:53:07+00:00
lZTiWxiqdAAkcZT5QIAMOe5lz3e0Wppw
91
Z
-43.507313
172.662733
256.9
2025-04-22 00:56:40+00:00
Iv1kpk5HMsjcBIV2eAqfHEdofp4JCu2v
91
Z
-43.53275
172.671703
255.9
2025-04-22 06:06:25+00:00
ANeOhAqBYL6VdE7IdfTTQOwJG0Z2hYLy
91
Gull
-43.545261
172.671631
247.9
2025-04-22 02:31:44+00:00
MwCdBKcE8CrXrB6GxzpQCjJRhWtEyXy4
91
Waitomo
-43.498364
172.62865
243.9
2025-04-22 01:19:23+00:00
opKbHTPzoScy2KquhjQroQzIKQ3HGBKC
91
Challenge
-43.5232
172.731988
249.7
2025-04-22 04:56:11+00:00
UHTA5dfdxEEW5CIhQpTDGt4dwN4t1rSp
91
Mobil
-43.473314
172.617639
256.9
2025-04-22 05:23:05+00:00
AfUQFPC16ykJnFN3cs7Fr1v5EGQjVeJK
91
BP
-43.474714
172.659662
255.9
2025-04-22 00:38:23+00:00
JRFjWX0sLkzcKxexrQ60U7yxVd7Yk8rS
91
Waitomo
-43.506177
172.728042
236.9
2025-04-22 04:56:43+00:00
RwxydDlvjplr3tJ55FfadfBuDCUoLrlq
91
BP
-43.308226
172.672581
259.9
2025-04-21 22:14:07+00:00
Dg18idNFzwWpCR57zfQD3NcL8DapmA2h
91
Z
-43.520583
172.627455
256.9
2025-04-21 22:40:35+00:00
KMuomq0yW4YBpHowXoAK4TczhyF4Jvx2
91
NPD Self Serve
-43.522693
172.656802
243.6
2025-04-22 04:10:37+00:00
ZECWj0Ko7dp8mCoBBqJvQmRrlPWqPOMt
91
Caltex
-43.478979
172.616456
256.7
2025-04-22 05:32:29+00:00
CwwmpXDbzmQ1zvWGctGdlUEA6NdQOY1K
91
BP
-43.513174
172.637807
255.9
2025-04-21 23:46:24+00:00
BvMfmIzeIv2dOOX6KQlIiceQgSnPRISw
91
Z
-43.295175
172.683947
259.9
2025-04-21 22:13:44+00:00
XmKOw2BrZ1Vb0CfmYm3a6yyDFbBdybFn
91
Gull
-43.308776
172.671939
252.9
2025-04-21 23:52:27+00:00
vJ1C7LyNK6AJuR1xiE1weUl8K5L5g10e
91
Mobil
-43.521003
172.645551
256.9
2025-04-22 00:36:06+00:00
oirMPYK7JtJ5SRNovvEvxPOZJO42ozS5
91
NPD
-43.54653
172.645226
249.8
2025-04-22 05:10:04+00:00
m87gtJsE5gQIEf4XGWP7oHIHdOtb8VKN
91
McKeown
-43.376218
172.650135
242.9
2025-04-22 01:26:20+00:00
vlQNRMae2dvZVX8yoKg6hKPKcn2iVVX4
91
Challenge
-43.553684
172.627146
255.9
2025-04-22 02:54:11+00:00
rEHlhSZMpxL8Wrt47QFrllsG6Ghpl5zm
91
Mobil
-43.38911
172.654307
252.9
2025-04-22 03:53:37+00:00
jW5X6JBrzu1EBaQcgyHToB0N1Pi2SPpN
91
Caltex
-43.38042
172.661096
249.7
2025-04-22 03:56:43+00:00
End of preview.

This dataset records petrol and diesel fuel prices, that drivers physically read from oil pumps in fuel stations and uploaded to "gaspy" website, in major New Zealand cities.

The list of fuel stations is stations.csv.

Naming rule:

For example, folder 2025-04 means the data of 2025 April. File 2025-04-20 means the current fuel prices at approximately (script triggered time may have about 10 minutes delay) 2025-04-20 6:00 UTC.

The meaning of columns are as follows.

Name Data type Description
station_id str Originally station_key in gaspy, the identifier of the fuel station. Because query is based on geo_hash, which may not be unique to stations, station_id in this table may not be in the stations table.
fuel_type str The fuel type symbol. See the fuel types table.
brand str Brand of the fuel station. If missing, the station's brand is unknown in gaspy.
latitude float Latitude of the location of the fuel station.
longitude float Longitude of the location of the fuel station.
price float Price of the fuel corresponding to fuel_type and uploaded at updated_time, in unit of NZD per 100L.
updated_time pandas.Timestamp The time that the fuel price is uploaded. It cannot be earlier than 1 days before the data is fetched.

The meaning of fuel types are as follows.

Symbol Meaning
91 Petrol unleaded 91
95 Petrol unleaded 95
98 Petrol unleaded 98
D Diesel fuel

Data source: gaspy

Downloads last month
184