title: comparing categories of data from one column to another column using pandas
body: <p>I am new to coding and I cannot seem to find the answer to this problem online.</p>
  <p>I am trying to compare two sets of data for a data science project.</p>
  <p>I am comparing one column which could be either two types of categories; 'recurrence-events' or 'no-recurrence-events', to another column which is 'Age bracket' which has five categories.</p>
  <p>I would like to find the relationship between the two and find the amount of rows that fall under each category.</p>
  <p>below I have posted a screenshot of the outcome from a website that has done a similar project to the one I am doing using a dataset from the UCI Repository.</p>