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
Describe the bug
import cudf y = cudf.Series([1, 2, 3], index=[1, 2])
This completes fine, and many operations on the series "succeed". It is only if doing things like printing that we get an error.
Expected behavior
This should produce a ValueError on construction, like pandas:
ValueError
import pandas as pd y = pd.Series([1, 2, 3], index=[1, 2]) # => ValueError
The text was updated successfully, but these errors were encountered:
Series
DataFrame
Fix Series and DataFrame constructors to validate index lengths (#…
2d70331
…13122) Fixes: #12999, #13056 This PR fixes the `Series` and `DataFrame` constructors to validate the `data` & `index` lengths. This also contains fixes where `index` was being ignored in certain cases. Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: #13122
galipremsagar
Successfully merging a pull request may close this issue.
Describe the bug
This completes fine, and many operations on the series "succeed". It is only if doing things like printing that we get an error.
Expected behavior
This should produce a
ValueError
on construction, like pandas:The text was updated successfully, but these errors were encountered: