-
Notifications
You must be signed in to change notification settings - Fork 18
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
Flattening of strings #56
Comments
is it possible(or useful) to support |
This is the In long term, I am interested to have a fixed-width String (probably a better implementation of |
On second thoughts, I classify this as a bug, |
Suppose that, somehow, you have come to have a dataset like this:
Are there any contraindications to the flatten function acting on the column: sds expanding (and possibly renaming the names to avoid conflicts) the rows of the subtables? PS I got the dataset with nested tables in the following way:
|
Few remarks:
|
Originally, I thought we could use a separate path for empty collections, however, this creates other sort of problems. E.g. if we have a I think we should leave it as a quirk of the package (?) |
Hi there, |
probably not, since dealing with |
I don't know what Int [] is exactly / formally, other than to think of it as an empty vector. A different hypothesis, perhaps a bit risky, would be to put |
Leaving
I am not sure if this is a right way to handle this - empty object is not equivalent to |
I wonder if the result of the flatten function in these cases is the most expected one.
Are there any contraindications to (or is this notoriously preferable rather than) treating strings (even empty ones) as scalars in the context of the flatten function?
The text was updated successfully, but these errors were encountered: