Loading...

vastorbit.datasets.load_smart_meters

vastorbit.datasets.load_smart_meters(schema: str | None = None, name: str = 'smart_meters') VastFrame

Ingests the smart meters dataset into the VAST DataBase.

This dataset is ideal for time series and regression models. If a table with the same name and schema already exists, this function creates a VastFrame from the input relation.

Parameters:
  • schema (str, optional) – Schema of the new relation. If empty, the temporary schema is used.

  • name (str, optional) – Name of the new relation.

Returns:

The smart meters VastFrame.

Return type:

VastFrame

Examples

from vastorbit.datasets import load_smart_meters

vdf = load_smart_meters()
📅
time
Timestamp(3)
123
val
Decimal(11, 7)
123
id
Integer
12015-06-19 17:30:000.050
22015-06-20 20:30:000.1770
32015-06-21 02:00:000.3470
42015-06-21 07:15:000.0860
52015-06-21 23:45:000.0980
62015-06-22 00:30:000.1090
72015-06-22 21:00:000.3790
82015-06-23 03:30:000.0170
92015-06-23 10:45:000.1450
102015-06-23 11:45:000.210
112015-06-23 21:30:000.0990
122015-06-24 02:15:000.1560
132015-06-24 18:30:000.4190
142015-06-25 03:45:000.0960
152015-06-26 00:15:000.3790
162015-06-26 09:30:000.1420
172015-06-28 04:00:000.120
182015-06-29 00:30:000.3730
192015-06-29 04:00:000.0130
202015-06-29 22:45:000.4340
212015-07-01 09:00:000.0640
222015-07-01 11:15:000.0560
232015-07-01 21:45:000.2020
242015-07-02 06:45:000.170
252015-07-02 10:45:000.1050
262015-07-03 06:15:000.3310
272015-07-03 18:15:000.7140
282015-07-04 17:30:000.1760
292015-07-04 23:45:000.2070
302015-07-05 00:45:000.0810
312015-07-05 08:15:000.1880
322015-07-05 10:30:000.1650
332015-07-06 00:45:000.2310
342015-07-06 14:45:000.2750
352015-07-08 22:30:000.1250
362015-07-08 23:15:000.2170
372015-07-09 17:30:000.920
382015-07-09 19:30:000.1550
392015-07-10 06:45:000.0940
402015-07-10 07:45:000.4350
412015-07-10 12:45:000.0360
422015-07-11 06:00:000.0510
432015-07-11 15:15:000.1450
442015-07-12 02:30:000.0340
452015-07-12 03:15:000.0670
462015-07-12 03:45:000.0810
472015-07-12 16:00:000.1130
482015-07-13 00:00:000.4330
492015-07-13 12:45:000.1970
502015-07-13 18:00:000.7360
512015-07-13 21:15:000.910
522015-07-15 18:30:002.4970
532015-07-16 14:30:000.4830
542015-07-17 11:45:000.5370
552015-07-17 12:15:000.2610
562015-07-20 17:15:000.2080
572015-07-20 21:00:000.6490
582015-07-21 01:30:001.1440
592015-07-21 11:45:000.1670
602015-07-21 15:45:000.2740
612015-07-21 16:30:000.3020
622015-07-22 12:30:000.050
632015-07-22 14:00:000.4030
642015-07-22 17:45:000.9010
652015-07-23 04:45:000.0510
662015-07-23 11:30:001.2360
672015-07-24 09:45:000.590
682015-07-24 19:15:000.390
692015-07-26 12:45:000.2280
702015-07-27 04:15:000.0370
712015-07-28 13:30:000.4250
722015-07-28 14:45:000.1490
732015-07-31 21:45:000.2320
742015-07-31 23:45:000.1060
752015-08-01 00:45:000.2180
762015-08-02 06:45:000.1270
772015-08-02 12:30:000.0880
782015-08-02 16:00:000.220
792015-08-02 16:30:000.220
802015-08-03 03:00:000.0260
812015-08-03 05:45:000.10
822015-08-03 09:45:000.080
832015-08-04 01:15:000.260
842015-08-04 13:00:001.1010
852015-08-06 06:00:000.0550
862015-08-06 08:45:000.0220
872015-08-06 12:00:000.320
882015-08-06 16:30:000.3270
892015-08-07 00:15:000.5390
902015-08-07 07:45:000.0220
912015-08-07 14:30:000.5090
922015-08-07 17:30:000.1960
932015-08-07 22:15:000.2510
942015-08-08 04:45:000.0880
952015-08-09 21:45:002.4650
962015-08-10 10:30:000.050
972015-08-11 05:00:000.080
982015-08-11 16:45:000.0650
992015-08-11 20:15:000.0660
1002015-08-11 20:45:000.1450
Rows: 1-100 | Columns: 3