Plotting Age of Children Compare to Adults

Learn how to compare data after reading it from a file using pandas.

How to view any column in pandas

What if we want to compare age groups? How do the ages of children compare to the ages of adults? In pandas, we can use data_age[column_name] to view any column.

Let’s look at the Under 16 dataset in the code widget below.

Get hands-on with 1400+ tech skills courses.