We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. rewriting code with import cudf as pd
import cudf as pd
Describe the solution you'd like
>>> import cudf as pd >>> pd.__version__ '22.12.01' >>> df = pd.DataFrame({'kind': ['cat', 'dog', 'cat', 'dog'], 'height': [9.1, 6.0, 9.5, 34.0], 'weight': [7.9, 7.5, 9.9, 198.0]}) >>> df kind height weight 0 cat 9.1 7.9 1 dog 6.0 7.5 2 cat 9.5 9.9 3 dog 34.0 198.0 >>> df.to_pandas().groupby('kind').agg(min_height=('height', 'min'), max_weight=('weight', 'max')) min_height max_weight kind cat 9.1 9.9 dog 6.0 198.0 >>> df.groupby('kind').agg(min_height=('height', 'min'), max_weight=('weight', 'max')) Traceback (most recent call last): File "<stdin>", line 1, in <module> File ".../python3.8/contextlib.py", line 75, in inner return func(*args, **kwds) TypeError: agg() got an unexpected keyword argument 'min_height'
references:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
rewriting code with
import cudf as pd
Describe the solution you'd like
references:
The text was updated successfully, but these errors were encountered: