-
Notifications
You must be signed in to change notification settings - Fork 915
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
[REVIEW] Add GroupBy.dtypes
#12783
[REVIEW] Add GroupBy.dtypes
#12783
Conversation
} | ||
) | ||
df.index = index | ||
return df |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much more simple than the pandas implementation, but I guess it makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small suggestion to simplify, but otherwise LGTM.
Co-authored-by: Vyas Ramasubramani <[email protected]>
Co-authored-by: Ashwin Srinath <[email protected]>
Currently blocked by an unrelated error:
Discussing offline to resolve this. |
In the interest of unblocking CI, I've made some small changes to patch this issue. I'll need to do a bit of a deeper investigation to figure out where cudf (or perhaps arrow) is leaking this dependency from; I'm not 100% convinced that it should be needed, but I could be mistaken (in which case my current patch won't need to be modified). |
CI passed, merging this PR now |
/merge |
The changes to spdlog/fmt packaging in rmm caused an undefined symbol issue in cudf_kafka. To unblock CI in #12783, I simply added fmt to the list of required libraries for the Python package (see caf7adf and [the explanation](#12783 (comment))). The underlying issue turns out to be that by default usage of fmt results in the dependent assuming that the headers are compiled in not header-only mode. When using CMake to manage the build, fmt relies on use of the appropriate target `fmt::fmt-header-only` to configure the build such that anything using fmt knows to use it in header-only mode, which sets the `FMT_HEADER_ONLY` preprocessor macro under the hood. Since the Python cudf_kafka package is not built using CMake, however, this information was not propagated to its build from its dependencies (libcudf/libcudf_kafka). As a result, it was compiled expecting an external definition of some fmt symbols rather than inlining them. This PR removes the undesirable library dependency on fmt introduced in #12783 in favor of properly telling fmt to expect inlined symbols. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Bradley Dice (https://github.com/bdice) - Matthew Roeschke (https://github.com/mroeschke) URL: #12796
Description
This PR adds
dtypes
property toGroupBy
, this will also fix some upstream dask breaking changes introduced in: dask/dask#9889Issue was discovered in: #12768 (comment)
Checklist