Question: Hi I need some original python code. I have a csv file filled with 0 ' s and 1 ' s . I want to

Hi I need some original python code. I have a csv file filled with 0's and 1's. I want to get the sum of all 1's in each column and place this into a new row underneath the last tow in the csv file. Then get the means of all 1's in a column and put that into a row beneath the count in the csv. This should be done as effeicently as possible, use libraries if needed, thanks.

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 Accounting Questions!