Work around for The method `pd.groupby.GroupBy.prod()` is not implemented yet.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 05:14 AM
0
I have a database with two columns: name (str) and probability (float).
I am running this command:
df[['name','probability']].groupby('name').prod()on a Databricks (runtime 7.3) notebook and df is a koalas dataframe.
The error I get is:
PandasNotImplementedError: The method `pd.groupby.GroupBy.prod()` is not implemented yet.I wonder if there is a workaround.
Labels:
- Labels:
-
Koalas Dataframe
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2023 11:55 PM
Thanks!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2023 07:40 AM - edited 07-31-2023 07:45 AM
The same trouble 😕