Insert WP Users by CSV

Sometimes we need to import many users into a site. While there are many ways this can be done a common one is through CSV. Here is the code for that.

This can be easily adapted for a DB query or xml file.