-
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
Empty data.table produced with .SD when grouping by all columns #3262
Comments
If I understand this correctly, it may seem consistent with the help text:
...with the part "excluding any columns used in
Possibly related issue: Columns appearing in the function in |
@Henrik-P You're right that this is closely related to #1427. |
I think there should be a distinction between "excluding any columns used in data.frame(a=1:5)[,0]
# data frame with 0 columns and 5 rows
data.table(a=1:5)[,0]
# Null data.table (0 rows and 0 cols) |
If it is valid to have rows and 0 columns depends on how you internally define structure of your data. |
I'll look for the previous discussions, I'm not surprised they are around (but I didn't find them). |
Likewise,
The text was updated successfully, but these errors were encountered: