Path: blob/master/07_Visualization/Tips/Exercises.ipynb
548 views
Kernel: Python 3
Tips
Introduction:
This exercise was created based on the tutorial and documentation from Seaborn The dataset being used is tips from Seaborn.
Step 1. Import the necessary libraries:
In [ ]:
Step 2. Import the dataset from this address.
Step 3. Assign it to a variable called tips
In [ ]:
Step 4. Delete the Unnamed 0 column
In [ ]:
Step 5. Plot the total_bill column histogram
In [ ]:
Step 6. Create a scatter plot presenting the relationship between total_bill and tip
In [ ]:
Step 7. Create one image with the relationship of total_bill, tip and size.
Hint: It is just one function.
In [ ]:
Step 8. Present the relationship between days and total_bill value
In [ ]:
Step 9. Create a scatter plot with the day as the y-axis and tip as the x-axis, differ the dots by sex
In [ ]:
Step 10. Create a box plot presenting the total_bill per day differetiation the time (Dinner or Lunch)
In [ ]:
Step 11. Create two histograms of the tip value based for Dinner and Lunch. They must be side by side.
In [ ]:
Step 12. Create two scatterplots graphs, one for Male and another for Female, presenting the total_bill value and tip relationship, differing by smoker or no smoker
They must be side by side.
In [ ]:
BONUS: Create your own question and answer it using a graph.
In [ ]: