8000 Selecting `Date` column blows up · Issue #407 · javascriptdata/danfojs · GitHub
[go: up one dir, main page]

Skip to content
Selecting Date column blows up #407
Closed
@hrseymour

Description

@hrseymour

Create a data frame with a Date column. Example value: new Date("2022-04-01"). Try to select the data column using [either documented method](new Date("2022-04-01")). Code blow ups with this call stack:

[./node_modules/danfojs-node/dist/danfojs-base/core/generic.js:91]()
                throw new Error("File format not supported!");
                      ^

Error: File format not supported!
    at Series.NDframe ([./node_modules/danfojs-node/dist/danfojs-base/core/generic.js:91:23]())
    at new Series ([./node_modules/danfojs-node/dist/danfojs-base/core/series.js:136:28]())
    at DataFrame.$getColumnData ([./node_modules/danfojs-node/dist/danfojs-base/core/frame.js:198:24]())
    at DataFrame.get ([./node_modules/danfojs-node/dist/danfojs-base/core/frame.js:149:37]())
    at [file://./cmdLineUtils/commander.mjs:139:21]()
    at ModuleJob.run (node:internal[/modules/esm/module_job:195:25]())
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal[/modules/esm/loader:337:24]())
    at async loadESM (node:internal[/process/esm_loader:88:5]())
    at async handleMainPromise (node:internal[/modules/run_main:61:12]())

Node.js v17.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0