Python deep analysis of the pandas advanced