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