We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this code snippet
const danfojs = require("danfojs-node"); (async () => { let data = await danfojs.readCSV( `${__dirname}/plan.csv`, { dynamicTyping: { "variation": false } } ) console.log( data.columns.map((item, index) => { return { [item]: data.ctypes.values[index] } }) ) console.log( data .column("variation") .unique() .values[0] ) console.log( typeof data .column("variation") .unique() .values[0] ) })()
The output is
[ ... { market_segment: 'string' }, { variation: 'int32' }, { '': 'int32' } ] 00 string
as you can see ctypes shows variation column has 'int32' value however, all values in the column are strings: '00'
variation
'00'
My expectation it ctype should also be a string to indicate actual value in the column
plan.csv
The text was updated successfully, but these errors were encountered:
I'm also having this issue with my AVG and SUM in #666
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
I have this code snippet
The output is
as you can see ctypes shows
variation
column has 'int32' valuehowever, all values in the column are strings:
'00'
My expectation it ctype should also be a string to indicate actual value in the column
plan.csv
The text was updated successfully, but these errors were encountered: