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 01:15:000.0372
22014-01-01 02:30:000.085
32014-01-01 03:00:000.0811
42014-01-01 05:00:001.4893
52014-01-01 06:00:000.0725
62014-01-01 07:15:002.3069
72014-01-01 07:45:000.1024
82014-01-01 10:45:000.0978
92014-01-01 11:00:000.0290
102014-01-01 11:00:000.5066
112014-01-01 11:15:000.1295
122014-01-01 13:00:000.6224
132014-01-01 13:45:000.2770
142014-01-01 15:30:000.2359
152014-01-01 16:45:000.6237
162014-01-01 17:00:001.355
172014-01-01 17:15:000.5591
182014-01-01 19:15:000.3751
192014-01-01 22:30:000.549
202014-01-02 00:30:000.3582
212014-01-02 01:30:000.1393
222014-01-02 02:45:000.0553
232014-01-02 03:00:000.0866
242014-01-02 03:30:000.0441
252014-01-02 03:45:000.0738
262014-01-02 04:45:000.17
272014-01-02 05:30:000.0441
282014-01-02 06:45:000.0481
292014-01-02 06:45:000.0555
302014-01-02 10:15:000.0821
312014-01-02 10:45:000.3210
322014-01-02 11:15:000.3050
332014-01-02 12:30:000.3975
342014-01-02 13:45:000.3580
352014-01-02 14:30:000.2544
362014-01-02 15:30:000.1150
372014-01-02 15:30:000.1857
382014-01-02 16:00:000.5248
392014-01-02 17:45:000.8714
402014-01-02 19:30:001.0389
412014-01-02 19:45:001.4786
422014-01-02 20:15:001.7768
432014-01-03 00:30:000.0948
442014-01-03 00:45:000.3136
452014-01-03 01:45:000.1339
462014-01-03 02:45:000.066
472014-01-03 03:15:000.0859
482014-01-03 04:30:000.0663
492014-01-03 04:30:000.0681
502014-01-03 05:45:000.0678
512014-01-03 06:30:000.0327
522014-01-03 07:45:000.0849
532014-01-03 07:45:000.2722
542014-01-03 08:30:000.0710
552014-01-03 09:15:001.5064
562014-01-03 10:30:000.0749
572014-01-03 11:00:002.1084
582014-01-03 12:15:000.1038
592014-01-03 19:45:000.4897
602014-01-03 21:30:000.6727
612014-01-03 22:15:000.5915
622014-01-03 22:15:001.9381
632014-01-03 23:30:000.2844
642014-01-04 01:15:000.1316
652014-01-04 01:30:001.5461
662014-01-04 01:45:000.3616
672014-01-04 02:15:000.3836
682014-01-04 02:45:000.1855
692014-01-04 05:45:000.0628
702014-01-04 06:00:000.2675
712014-01-04 06:45:000.0778
722014-01-04 07:30:000.0682
732014-01-04 07:45:000.3094
742014-01-04 10:00:000.1538
752014-01-04 10:45:000.5457
762014-01-04 11:45:001.2688
772014-01-04 12:00:000.0762
782014-01-04 13:30:001.368
792014-01-04 17:15:000.2852
802014-01-04 17:15:000.4479
812014-01-04 18:00:000.6414
822014-01-04 22:30:000.8274
832014-01-04 23:45:000.3230
842014-01-05 02:15:000.3056
852014-01-05 04:00:000.1119
862014-01-05 06:30:000.0759
872014-01-05 08:00:000.094
882014-01-05 08:45:000.169
892014-01-05 10:00:000.2813
902014-01-05 10:15:000.586
912014-01-05 11:30:001.1326
922014-01-05 17:30:000.6254
932014-01-05 19:45:000.5374
942014-01-05 19:45:000.5461
952014-01-05 23:30:000.5399
962014-01-06 01:15:000.0850
972014-01-06 02:45:000.0878
982014-01-06 05:00:000.0693
992014-01-06 07:45:000.0273
1002014-01-06 07:45:000.532
Rows: 1-100 | Columns: 3