All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
Your task is to create a histogram to observe the distribution of the number of passengers on various flights. This activity aims to familiarize you with basic data visualization and give you insights into passenger distribution across flights.
You have a dataset that lists numbers of passengers on different flights. Your dataset will be loaded into a Pandas DataFrame named df
. Ensure this DataFrame includes at least one column that records passenger numbers.
Steps to Complete:
Load Your Data:
flights.csv
) into a Pandas DataFrame and name it df
.Plot the Histogram:
hist
function. At this stage, stick with the default parameters to keep things simple.