-
Notifications
You must be signed in to change notification settings - Fork 370
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
collecting with brackets is deprecated #939
collecting with brackets is deprecated #939
Conversation
Resolve "WARNING: [a] concatenation is deprecated; use collect(a) instead"
Thanks. The tests failed on Julia nightlies because the name of the column now depends on that of lambda function (which cannot be predicted reliably). This can be fixed by indexing the data frames with Also, I wonder whether we actually need to call @tshort Opinions? |
I'm not where I can test anything, but I think you will need |
@tshort Yes, but do we really need an array? Since the result is an |
I replaced the lambda function with a regular element-wise function in the added commit above. I think all other tests of The elements of Would it make sense to use something like this instead of
Without using
...
...
|
@nalimilan
The problem addressed by this PR seems to only arise with functions that returns vectors (such as |
Let's go with this as it fixes the warning. We can always relax the requirements later, but that's kind of a separate issue. sorry it took so long (do not hesitate to bump from time to time). |
Woops, this actually made the tests fail after the port the |
Resolve "WARNING: [a] concatenation is deprecated; use collect(a) instead"
Resolve "WARNING: [a] concatenation is deprecated; use collect(a) instead"
Resolve "WARNING: [a] concatenation is deprecated; use collect(a) instead"
Resolve "WARNING: [a] concatenation is deprecated; use collect(a) instead"
Resolve "WARNING: [a] concatenation is deprecated; use collect(a) instead"
Resolve "WARNING: [a] concatenation is deprecated; use collect(a) instead"
Resolves
WARNING: [a] concatenation is deprecated; use collect(a) instead