-
Notifications
You must be signed in to change notification settings - Fork 991
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
rbindlist should deal with NULL values #1871
Comments
I don't know. With a NULL there, maybe the user means that they want it to be read as a list column, like
I think if replacement by |
The problem is that the source JSON is provided by service websites like the following: {
{ "a": 1, "b": 2 },
{ "a": null, "b": 3 },
{ "a": 2, "b": null },
// ... millions of records
} |
is there no way to have your json reader interpret 'null' as 'na'? On Oct 9, 2016 10:49 AM, "Kun Ren" notifications@github.com wrote:
|
In my case, I can fetch the JSON string and use |
I'm working with a big JSON string from web containing a list of lists, each has the same set of fields of scalar values. However, some items have
NULL
values, which makesrbindlist
refuse to work.A simple example is
This produces the following error
which is quite understandable since
NULL
is zero-length likenumeric(0)
. For me, it would be nice to have an argument or something to regard such zero-length entries asNA
so that I don't have to manually iterate over all items and set them to missing values.The text was updated successfully, but these errors were encountered: