-
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
error when combining a grouped empty dataframe using first
#3426
Comments
It is a
|
Thank you very much! May I ask how the type of |
No, it is determined by the type of the
As you can see the compiler can infer what is needed. |
Can we process
We can also process it col by col instead of row by row. Since the types of all cols can be inferred no matter whether a grouped dataframe is empty or not, generating an initial empty dataframe of consistent types would be possible, and users don't have to use other functions to handle specific cases. |
Since the grouped dataframe is empty, functions such as |
yes
yes |
It would be better if we could return an empty dataframe with the same cols, instead of raising an error. Thanks!
it is ok:
error:
The text was updated successfully, but these errors were encountered: