Python Forum

Full Version: Creating a table from a dataset
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I am quite new to python, and I got confused how to transform a dataset into a table

[Image: Screenshot%202018-05-29%2009.24.50.png?dl=0]

From that dataset, I want to tramsform the 'Tittle' and the 'Age Group'
so it could look like this :

Mr Mrs Miss
Adult
Senior
Baby
Unknown

Then that table contains how many adult that are alson Mr, and so on
Show an attempt and where you are having difficulty
I just dont know what function should I use ? should I take out 'Title' and 'Age Group' first then use combine ?