Now, let's take a look at the variables regarding the dimension of the diamonds: x, y, and z.
The first thing we notice is that the minimum values for these features are zero. From what these variables represent, we know this can't be possible (otherwise, we would be talking about two-dimensional diamonds).
Let's examine the values of x that are equal to zero:
diamonds.loc[diamonds['x']==0]
The output is shown in the following screenshot:
Interesting... some of the diamonds with the value of zero in x also have zeros in the other dimensions. Although the actual value is zero, it makes more sense to consider these ...