July 2019
Beginner to intermediate
740 pages
16h 52m
English
To do so, we read in both the red wine file we worked with previously and the white wine file. The white wine file is actually semi-colon (;) separated, so we must provide the sep argument to pd.read_csv():
>>> red_wine = pd.read_csv('data/winequality-red.csv')>>> white_wine = pd.read_csv('data/winequality-white.csv', sep=';')
We can also look at the quality scores of the white wines, just as we did with the red ones, and we will find that the white wines tend to be rated higher overall. This might bring us to question whether the judges preferred white wine over red wine, thus creating a bias in their ratings. As it is, the rating system that was used seems to be pretty subjective:
Both of these ...
Read now
Unlock full access