Handling nils in CSV's using Ruby
How to handle nils in CSV data Recently Iāve had to work a lot with CSVās and Iāve learned the hard way that the data within these arenāt always what you expect. Why would there be no number associated to a name or part? Why no name for a number or part and so on. Below is the strategy Iāve adopted to handle this case. Fetching the data We want the headers to return as symbols because I donāt trust the position of the rows in the future....