python code cleaning, analysing and building a regression model for public earnings data in the state of MN