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

Method date

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

* Returns the Date as JavaScript standard Date object * @example * ``` * import { Series } from "danfojs-node" * const data = [ * "2019-01-01", * "2019-02-05", * "2021-03-02", * "2020-04-01", * ] * * const df = new Series(data) * const dat

()

Source from the content-addressed store, hash-verified

254 * ```
255 */
256 date() {
257 const newValues = this.$dateObjectArray.map(date => date.toLocaleString())
258 return new Series(newValues);
259 }
260
261}
262

Callers

nothing calls this directly

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected