Lab 3
\
Step 1. Import the necessary libraries
In [ ]:
Step 2. Import the dataset from this address. https://raw.githubusercontent.com/justmarkham/DAT8/master/data/drinks.csv
Step 3. Assign it to a variable called drinks.
In [ ]:
Step 4. Which continent drinks more beer on average?
In [ ]:
Step 5. For each continent print the statistics for wine consumption.
In [ ]:
Step 6. Print the mean alcoohol consumption per continent for every column
In [ ]:
Step 7. Print the median alcoohol consumption per continent for every column
In [ ]:
Step 8. Print the mean, min and max values for spirit consumption.
This time output a DataFrame
In [ ]:
Comments
Post a Comment