Skip to content
New issue

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

JSON only for the last row #3

Open
theoldsunset opened this issue Oct 25, 2021 · 5 comments
Open

JSON only for the last row #3

theoldsunset opened this issue Oct 25, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@theoldsunset
Copy link

theoldsunset commented Oct 25, 2021

Hi, When I run the script using my csv, only 1 JSON file called NaN is generated and it contains only information about the last row of my csv file.
Any idea about what the problem could be?
I created my csv file in excel

@jamland
Copy link
Contributor

jamland commented Oct 25, 2021

hey @theoldsunset !
This script require CSV to have a specific structure. First column of each row should be a number.
I suppose, you have something different there, since NaN stands for not a number

Probably we need to handle such cases with proper error message

@jamland jamland added the enhancement New feature or request label Oct 25, 2021
@jamland jamland self-assigned this Oct 25, 2021
@theoldsunset
Copy link
Author

Hi @jamland thank you for your reply!
I have found a way to bypass the problem:
Basically if I create a csv file from Excel I have the problem that I have mentioned, but if I use an online "excel to csv converter" than everything work smoothly!
Thank you!

@philobbe
Copy link

Hi @jamland thank you for your reply! I have found a way to bypass the problem: Basically if I create a csv file from Excel I have the problem that I have mentioned, but if I use an online "excel to csv converter" than everything work smoothly! Thank you!

what online converter did you use ?
Because I have same problem and with the online converter I tested it doesn't works...

@theoldsunset
Copy link
Author

Hi @jamland thank you for your reply! I have found a way to bypass the problem: Basically if I create a csv file from Excel I have the problem that I have mentioned, but if I use an online "excel to csv converter" than everything work smoothly! Thank you!

what online converter did you use ? Because I have same problem and with the online converter I tested it doesn't works...

Hi, I used Cloudconverter.
Google it, it's one of the first results :-)

@Lew99
Copy link

Lew99 commented Feb 22, 2022

I am also having this issue but I can't find a fix for it, I'm using the correct setup and also have the first column as numbers. It's only creating the last json and naming it NaN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants