Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 641 Bytes

File metadata and controls

25 lines (15 loc) · 641 Bytes

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-node

API

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.