Loading...

verticapy.datasets.load_smart_meters

verticapy.datasets.load_smart_meters(schema: str | None = None, name: str = 'smart_meters') → vDataFrame

Ingests the smart meters dataset into the Vertica 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 vDataFrame 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

vDataFrame

the smart meters vDataFrame.

Examples

If you call this loader without any arguments, the dataset is loaded using the default schema (public).

from verticapy.datasets import load_smart_meters

load_smart_meters()
📅
time
Timestamp(29)
123
val
Numeric(13)
123
id
Integer
12014-01-01 07:15:002.3069
22014-01-01 17:00:001.355
32014-01-02 02:45:000.0553
42014-01-02 04:45:000.17
52014-01-02 06:45:000.0481
62014-01-03 06:30:000.0327
72014-01-03 07:45:000.0849
82014-01-03 10:30:000.0749
92014-01-03 22:15:000.5915
102014-01-04 01:15:000.1316
112014-01-04 02:45:000.1855
122014-01-04 05:45:000.0628
132014-01-04 07:30:000.0682
142014-01-04 07:45:000.3094
152014-01-04 13:30:001.368
162014-01-04 18:00:000.6414
172014-01-04 22:30:000.8274
182014-01-05 08:00:000.094
192014-01-05 10:00:000.2813
202014-01-05 10:15:000.586
212014-01-05 17:30:000.6254
222014-01-06 07:45:000.532
232014-01-06 17:45:000.3365
242014-01-06 20:15:000.239
252014-01-07 01:30:000.1894
262014-01-07 03:45:000.0212
272014-01-07 08:15:000.0347
282014-01-07 11:15:000.3156
292014-01-07 13:15:000.0873
302014-01-07 17:45:000.3417
312014-01-08 08:00:004.6528
322014-01-08 21:45:000.4717
332014-01-08 23:15:000.5718
342014-01-09 11:00:000.1394
352014-01-09 14:00:000.1258
362014-01-09 15:00:000.9280
372014-01-09 22:45:000.5388
382014-01-10 05:30:000.0763
392014-01-10 08:15:000.0675
402014-01-10 09:30:000.2044
412014-01-10 11:00:000.8333
422014-01-10 14:30:000.3873
432014-01-10 18:00:000.4922
442014-01-10 18:00:001.3379
452014-01-10 18:15:000.1615
462014-01-10 19:15:000.4795
472014-01-10 19:45:000.3076
482014-01-11 10:45:001.0450
492014-01-11 15:30:000.1476
502014-01-12 05:15:000.1127
512014-01-12 10:30:000.0024
522014-01-12 12:15:0011.4056
532014-01-12 14:15:001.9357
542014-01-12 17:00:001.0026
552014-01-13 21:45:000.9072
562014-01-14 00:30:000.1211
572014-01-14 03:30:000.0532
582014-01-14 05:00:000.0917
592014-01-14 07:15:000.0194
602014-01-14 15:15:000.1285
612014-01-14 20:30:001.2984
622014-01-14 23:15:000.9091
632014-01-15 03:30:000.0131
642014-01-16 02:30:000.0778
652014-01-16 02:45:000.114
662014-01-16 03:15:000.6792
672014-01-16 04:45:000.0368
682014-01-16 15:00:000.2648
692014-01-16 17:00:001.8077
702014-01-16 17:15:001.5072
712014-01-16 20:15:000.3554
722014-01-17 14:30:000.233
732014-01-18 00:00:000.42152
742014-01-18 03:00:000.1523
752014-01-18 05:15:000.2648
762014-01-18 07:45:000.1242
772014-01-18 09:30:000.0799
782014-01-18 15:00:000.3772
792014-01-19 05:00:000.0925
802014-01-19 06:15:000.0480
812014-01-19 06:15:000.0881
822014-01-19 07:45:000.1069
832014-01-19 12:00:000.024
842014-01-19 14:00:000.122
852014-01-19 14:00:000.1398
862014-01-19 15:15:000.3573
872014-01-19 15:30:0013.30
882014-01-19 17:15:000.1842
892014-01-19 21:15:000.2311
902014-01-20 11:30:001.0256
912014-01-20 12:45:001.0857
922014-01-21 01:15:000.1182
932014-01-21 03:00:000.073
942014-01-21 12:00:000.1447
952014-01-21 12:30:000.3270
962014-01-21 23:00:000.4856
972014-01-22 13:30:000.1972
982014-01-22 14:30:000.1818
992014-01-22 22:00:000.5056
1002014-01-23 00:45:000.5749
Rows: 1-100 | Columns: 3