load_winequality

In [ ]:
load_winequality( 
                 schema: str = 'public',
                 name: str = 'winequality')

Ingests the winequality dataset into the Vertica database. This dataset is ideal for regression and classification. If a table with the same name and schema already exists, this function will create a vDataFrame from the input relation.

Parameters

Name Type Optional Description
schema
str
✓
Schema of the new relation. The default schema is public.
name
str
✓
Name of the new relation.

Returns

vDataFrame : the winequality vDataFrame.

Example

In [65]:
from verticapy.datasets import load_winequality
load_winequality()
123
free_sulfur_dioxide
Numeric(7,2)
123
pH
Numeric(6,3)
123
density
Float
123
good
Int
123
citric_acid
Numeric(6,3)
123
quality
Int
123
chlorides
Float
123
alcohol
Float
123
volatile_acidity
Numeric(7,4)
Abc
color
Varchar(20)
123
fixed_acidity
Numeric(6,3)
123
total_sulfur_dioxide
Numeric(7,2)
123
sulphates
Numeric(6,3)
123
residual_sugar
Numeric(7,3)
120.003.7500.9924800.02060.03612.40.3100white3.800114.000.44011.100
229.003.5700.98910.40080.0312.80.2250white3.900118.000.3604.200
393.003.6500.9899910.36070.02912.00.1700white4.200161.000.8901.800
464.003.4200.9968800.23030.0418.00.2150white4.200157.000.4405.100
531.003.4600.9890410.39080.0312.80.3200white4.400127.000.3604.300
631.003.4800.9881600.10060.02413.10.4600white4.400111.000.3402.800
752.003.4100.9902210.09070.03812.20.5400white4.40097.000.4005.100
889.003.3400.9933200.21050.0338.00.1900white4.500159.000.4200.950
911.003.7900.9942600.00050.05310.20.4450white4.600178.000.5501.400
108.003.9000.993400.15040.05413.10.5200red4.60065.000.5602.100
1135.003.7600.990800.29060.04211.30.1450white4.70090.000.4901.000
1269.003.4700.9921200.14050.03610.50.3350white4.700168.000.4601.300
1333.003.2100.9874610.18070.03614.00.4550white4.700106.000.8301.900
1417.003.8500.993200.17060.05812.90.6000red4.700106.000.6002.300
155.003.3000.9872200.09050.0213.60.6700white4.7009.000.3401.000
1623.003.5300.9898100.00060.03613.80.7850white4.700134.000.9203.400
1740.003.4200.989810.32070.04211.80.1300white4.80098.000.6401.200
1822.003.3800.990210.28070.0311.30.1700white4.800111.000.3402.900
1917.003.6600.9932410.21070.03712.20.2100white4.800112.000.48010.200
2047.003.3100.9913200.38060.07410.30.2250white4.800130.000.4001.200
2123.003.4600.9927410.23070.03411.50.2600white4.800111.000.28010.600
2238.003.2800.9892400.23060.04411.90.2900white4.800180.000.3401.100
2334.003.3500.993700.00050.0289.90.3300white4.800163.000.6106.500
2433.003.3600.993900.00060.0289.90.3400white4.800163.000.6106.500
254.003.3200.9924600.12040.01313.50.6500white4.80010.000.3601.100
2634.003.0700.995400.27060.039.40.2350white4.900118.000.50011.750
2739.003.3300.9871310.31080.01614.00.3300white4.900150.000.5901.200
2869.003.4700.9921200.14050.03610.46666666666670.3350white4.900168.000.4601.300
2969.003.4700.9921200.14050.03610.46666666666670.3350white4.900168.000.4601.300
3032.003.2400.9913800.34050.06810.10.3450white4.900143.000.4001.000
3132.003.2400.9913800.34050.06810.10.3450white4.900143.000.4001.000
3216.003.7100.9915410.00070.04814.00.4200red4.90042.000.7402.100
3360.003.2700.9896400.17060.03511.50.4700white4.900148.000.3501.900
3424.003.4800.990610.56070.02610.80.1700white5.000115.000.3901.500
3520.003.3700.989700.40060.01512.050.2000white5.00098.000.5501.900
3634.003.0700.995400.27060.039.40.2350white5.000118.000.50011.750
3717.003.6700.9943800.19050.04310.00.2400white5.000101.000.5705.000
3831.003.6900.9909800.21060.03911.70.2400white5.000100.000.6202.200
3949.003.3200.9877410.34070.03413.10.2400white5.000158.000.3201.100
4046.003.7500.9923800.22060.04311.30.2550white5.000153.000.7602.700
4158.003.4500.9895610.32070.03212.60.2700white5.000178.000.3104.500
4258.003.4500.9895610.32070.03212.60.2700white5.000178.000.3104.500
4342.003.3200.9920400.40060.07610.10.2700white5.000124.000.4701.200
4454.003.2700.9897610.54080.03512.90.2900white5.000155.000.3405.700
4554.003.3600.988710.33070.0313.00.3000white5.000173.000.3003.700
4643.003.3000.99400.00060.0469.90.3100white5.000166.000.6306.400
4710.003.4800.991700.16060.04910.70.3300white5.00097.000.4401.500
4810.003.4800.991700.16060.04910.70.3300white5.00097.000.4401.500
4910.003.4800.991700.16060.04910.70.3300white5.00097.000.4401.500
5040.003.1800.9911400.18060.03211.00.3300white5.000124.000.4004.600
5123.003.4100.9932200.23060.0311.80.3300white5.000158.000.64011.800
5224.003.3900.9924100.25060.03111.30.3500white5.000116.000.4007.800
5324.003.3900.9924100.25060.03111.30.3500white5.000116.000.4007.800
5426.003.7000.9908400.01060.04814.00.3800red5.00060.000.7501.600
5529.003.4900.990200.50060.04613.60.4000red5.00080.000.6604.300
5619.003.7200.991710.24080.0614.00.4200red5.00050.000.7402.000
5738.003.3700.998500.04060.03910.20.4400white5.000128.000.57018.600
5833.003.2100.9874610.18070.03614.00.4550white5.000106.000.8301.900
5935.003.5300.991810.14080.03212.50.5500white5.000164.000.5108.300
6065.003.2600.987400.12050.00913.50.6100white5.000100.000.3701.300
6116.004.0100.9925800.00060.04112.50.7400red5.00046.000.5901.200
6241.003.7500.993800.04040.04510.51.0200red5.00085.000.4801.400
6332.003.7400.993400.24050.0511.51.0400red5.00096.000.6201.600
6412.003.5700.9900800.32060.02812.20.1100white5.10090.000.5201.600
6515.003.2200.991900.25060.0399.20.1400white5.10089.000.4300.700
6642.003.1800.993400.22060.0479.90.1650white5.100146.000.5505.700
6748.003.5000.9916800.28050.04710.40.2100white5.100148.000.4901.400
6813.003.2200.9895600.18050.05311.50.2300white5.10099.000.3901.000
6940.003.2300.989110.36070.03512.10.2500white5.10078.000.6401.300
7046.003.3500.9894610.33070.02711.40.2600white5.100113.000.4301.100
7126.003.2300.9944900.34060.0349.20.2600white5.10099.000.4106.400
7227.003.3600.9930800.28060.02611.00.2900white5.100107.000.3708.300
7327.003.3600.9930800.28060.02611.00.2900white5.100107.000.3708.300
7440.003.2900.9894400.30060.04812.20.3000white5.100150.000.4602.300
7517.003.4000.9900.13050.03612.33333333333330.3050white5.10073.000.5101.750
7628.003.5400.99200.30060.03710.10.3100white5.100152.000.5600.900
7718.003.5100.989310.22070.02712.50.3300white5.10089.000.3801.600
7818.003.5100.989310.22070.02712.50.3300white5.10089.000.3801.600
7918.003.5100.989310.22070.02712.50.3300white5.10089.000.3801.600
8044.003.3600.9922110.27070.02211.00.3300white5.100129.000.3906.700
8136.003.3800.9918800.26060.03411.50.3500white5.100120.000.4006.800
8236.003.3800.9918800.26060.03411.50.3500white5.100120.000.4006.800
8336.003.3800.9918800.26060.03411.50.3500white5.100120.000.4006.800
8415.003.5000.989400.21060.02712.50.3900white5.10072.000.4501.700
8518.003.6800.9915710.00070.04413.60.4200red5.10088.000.7301.800
8625.003.3800.989410.01070.01712.30.4200white5.100102.000.3601.500
8718.003.9000.992100.02060.03412.80.4700red5.10044.000.6201.300
8816.003.4600.992410.18070.04212.90.5100red5.100101.000.8702.100
8930.003.3200.993200.06050.0529.30.5200white5.10079.000.4302.700
9014.003.5600.9926410.00070.04412.90.5850red5.10086.000.9401.700
9113.003.3000.9897510.33080.02811.90.1550white5.20059.000.8401.600
9213.003.3000.9897510.33080.02811.90.1550white5.20059.000.8401.600
9326.003.2500.9915500.34060.02910.10.1600white5.20077.000.5100.800
9411.003.3000.9921800.27050.039.80.1700white5.20068.000.4100.700
9547.003.5500.9921800.22060.0310.150.1850white5.200123.000.4401.000
9616.003.4400.9923510.27070.04710.10.2000white5.20093.000.5303.200
9717.003.2400.9895310.31070.04812.00.2100white5.20061.000.3701.700
9841.003.1900.9936200.46050.0669.733333333333330.2200white5.200187.000.4206.200
9932.003.2400.9937800.15060.0439.90.2400white5.200134.000.4807.100
10021.003.5500.99210.45080.02711.20.2400white5.200128.000.4903.800
Out[65]:
Rows: 1-100 of 6497 | Columns: 14