In most projects, an application needs to read CSV (Comma
Separated Value) files and load them into the database. Data which is used for
loading into database will usually be in the form of a text file wherein data
contained in the file is separated by commas. These files generally have .csv
extension.
In the below example we will demonstrate how to read a CSV
file using dataset.