Question: Write a function which reads in a csv as a list of lists, properly converting int data to ints and floating point data to floating
Write a function which reads in a csv as a list of lists, properly converting int data to ints and floating point data to floating points as needed. Afterward, have the function print the list of lists out using pretty print, to show off the results.
Then, create a csv and test the results of this function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
