This is a NodeJS package which provide functionality similar to read_csv()
function in python pandas library
This is a NodeJS module available through npm-registry. Installation is done using npm install
command.
npm install pandas-csv-node
import {readCsv,readCsvAsync} from "pandas-csv-node"
readCsv
takes two argument one is filePath
and other is encoding
, by default encoding is set to utf-8
.
readCsvAsync
takes same arguments as readCsv
but this is async function which return a promise which resolves to array of data.