Question: Clean the dataframe Note the issues that need to be fixed ( removing columns, removing rows, changing column names ) . Within your function, make

Clean the dataframe
Note the issues that need to be fixed (removing columns, removing rows, changing column names).
Within your function, make sure there are 51 rows (one per state + the district of Columbia).
Make sure there are only 5 columns with the columns having the following names (stateName, Census, Estimates, Pop2010, Pop2011).
Make sure the last four columns are numbers (i.e. not strings).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!