> For the complete documentation index, see [llms.txt](https://developer-mina.gitbook.io/setify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer-mina.gitbook.io/setify/datasets/food-and-drinks.md).

# Food and Drinks

### `wine_quality()`

The [dataset](https://archive.ics.uci.edu/ml/datasets/wine+quality) was downloaded from the UCI Machine Learning Repository.

The two datasets are related to red and white variants of the Portuguese "Vinho Verde" wine. The reference \[Cortez et al., 2009]. Due to privacy and logistic issues, only physicochemical (inputs) and sensory (the output) variables are available (e.g. there is no data about grape types, wine brand, wine selling price, etc.).

{% tabs %}
{% tab title="Data" %}

```
     alcohol chlorides citric acid  ... total sulfur dioxide   type
0        8.8     0.045        0.36  ...                  170  white
1        9.5     0.049        0.34  ...                  132  white
2       10.1      0.05         0.4  ...                   97  white
3        9.9     0.058        0.32  ...                  186  white
4        9.9     0.058        0.32  ...                  186  white
...      ...       ...         ...  ...                  ...    ...
6492    10.5      0.09        0.08  ...                   44    red
6493    11.2     0.062         0.1  ...                   51    red
6494      11     0.076        0.13  ...                   40    red
6495    10.2     0.075        0.12  ...                   44    red
6496      11     0.067        0.47  ...                   42    red
```

{% endtab %}

{% tab title="Information" %}

```
[6497 rows x 13 columns]
<class 'pandas.core.frame.DataFrame'>
Int64Index: 6497 entries, 0 to 6496
Data columns (total 13 columns):
 #   Column                Non-Null Count  Dtype  
---  ------                --------------  -----  
 0   alcohol               6497 non-null   float64
 1   chlorides             6495 non-null   float64
 2   citric acid           6494 non-null   float64
 3   density               6497 non-null   float64
 4   fixed acidity         6487 non-null   float64
 5   free sulfur dioxide   6497 non-null   float64
 6   pH                    6488 non-null   float64
 7   quality               6497 non-null   int64  
 8   residual sugar        6495 non-null   float64
 9   sulphates             6493 non-null   float64
 10  total sulfur dioxide  6497 non-null   float64
 11  type                  6497 non-null   object 
 12  volatile acidity      6489 non-null   float64
dtypes: float64(11), int64(1), object(1)
memory usage: 710.6+ KB
```

{% endtab %}
{% endtabs %}
