When complete, you will run this program to produce a diagnostic…
Question Answered step-by-step When complete, you will run this program to produce a diagnostic… When complete, you will run this program to produce a diagnostic report that shows data entry errors that cause row totals in the data to be out of balance. I created these data entry errors on purpose by corrupting the data that I downloaded from WDHS. You are expected to make this program that automatically exposes data entry errors. While it might be feasible to correct this one data set by proofreading, it would not be feasible to take the same approach to correcting data entry errors for a large volume of these data sets. Here is the cleaned_data.txt file contents although I don’t think you’ll need them:0-14 97680 93991 19167115-19 32800 32479 6531920-24 38953 41206 8015925-29 36775 38205 7498030-34 37072 39197 7626935-39 30337 31644 6180140-44 28176 29271 5744745-54 57519 60283 11780255-64 52893 57669 11056265-74 28577 34212 6199975-84 13843 20222 3406585+ 5775 12843 18618Total 460340 491642 951982 A first run of this program should provide the following console session output: Please enter the input filename: cleaned_data.txt Row-Level Data Entry ErrorsAge Group Males Females Total Error0-14 97,680 93,991 191,671 015-19 32,800 32,479 65,319 -4020-24 38,953 41,206 80,159 025-29 36,775 38,205 74,980 030-34 37,072 39,197 76,269 035-39 30,337 31,644 61,801 18040-44 28,176 29,271 57,447 045-54 57,519 60,283 117,802 055-64 52,893 57,669 110,562 065-74 28,577 34,212 61,999 79075-84 13,843 20,222 34,065 085+ 5,775 12,843 18,618 0Total 460,340 491,642 951,982 0 Computer Science Engineering & Technology Python Programming INFOST 350-201 Share QuestionEmailCopy link Comments (0)


