March 2020
Beginner to intermediate
352 pages
8h 40m
English
Well, Figure 12.2 shows that each column has the same number of items, indicating there are no missing values.
We can verify that by using the pd.info() method shown here:
df_red.info()
The output of the preceding code is given:
<class 'pandas.core.frame.DataFrame'>RangeIndex: 1599 entries, 0 to 1598Data columns (total 12 columns):fixed acidity 1599 non-null float64volatile acidity 1599 non-null float64citric acid 1599 non-null float64residual sugar 1599 non-null float64chlorides 1599 non-null float64free sulfur dioxide 1599 non-null float64total sulfur dioxide 1599 non-null float64density 1599 non-null float64pH 1599 non-null float64sulphates 1599 non-null float64alcohol 1599 non-null float64quality 1599 non-null int64dtypes: ...
Read now
Unlock full access