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

Unsupported value: +Inf #478

Closed
xxristoskk opened this issue Mar 10, 2020 · 3 comments
Closed

Unsupported value: +Inf #478

xxristoskk opened this issue Mar 10, 2020 · 3 comments

Comments

@xxristoskk
Copy link

Creating a dataset that contains tweets, the Desktop version fails to load the CSV. Exploring further, I'm getting this error in the CLI:

validating data: error reading values: error writing row 129283: json: unsupported value: +Inf

Row 129283 contains a tweet with a few emojis. There are emojis in other rows that work, but this one might have one too many.

@b5
Copy link
Member

b5 commented Mar 10, 2020

Thanks for filing @xxristoskk! Could you by chance pull out just row 129283 & paste it here?

@xxristoskk
Copy link
Author

@b5 I figured out where the issue was--it wasn't the emojis at all. I'm using a Pandas DataFrame to clean/analyze the dataset, and also to convert the DataFrame to CSV. During that conversion, some of the data types get messed around with, and some zeros were turned into Numpy infinite. After changing those back to 0, I was able to commit just fine.

@b5
Copy link
Member

b5 commented Mar 11, 2020

Fantastic! Glad to hear you were able to find a solution. I'm going to mark this as closed.

Thanks to your filing this issue, we've uncovered another issue around how we handle stuff like +Inf, so double thank-you @xxristoskk!

@b5 b5 closed this as completed Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants