Engine Python Pandas Dataframe Shape Methodology