how to analyse data using pandas