@sudoedit if you don't have any constraints around using external libraries, pandas and Polars both have really great CSV capabilities. A bit overkill though if you don't plan on doing a lot of data manipulation.
Is it throwing an error? Or just returning None? It looks like you may need to capitalize the n in Last Name as well.