Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uprbindlist 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
NULLvalues, which makesrbindlistrefuse to work.A simple example is
This produces the following error
which is quite understandable since
NULLis zero-length likenumeric(0). For me, it would be nice to have an argument or something to regard such zero-length entries asNAso that I don't have to manually iterate over all items and set them to missing values.