MCPcopy Create free account
hub / github.com/javascriptdata/danfojs / processData

Method processData

src/danfojs-base/core/datetime.ts:40–43  ·  view source on GitHub ↗

* Processed the data values into internal structure for easy access * @param dateArray An array of date strings

(dateArray: ArrayType1D)

Source from the content-addressed store, hash-verified

38 * @param dateArray An array of date strings
39 */
40 private processData(dateArray: ArrayType1D): Array<Date> {
41 const values = dateArray.map(dateString => new Date(`${dateString}`))
42 return values
43 }
44
45 /**
46 * Returns the month, in local time.

Callers 1

constructorMethod · 0.95

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected