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
To Reproduce
from arkouda import * def perturb(a: ak.pdarray, atol: float, rtol: float, rng=None): if rng is None: rng = ak.random.default_rng() return a + rtol * a + atol * rng.random() size = 100 rng = ak.random.default_rng() atol = 0.001 rtol = 0.001 a = ak.arange(size, dtype="float64") a2 = perturb(a, atol=atol, rtol=rtol, rng=rng) idx2 = Index(a2) df = DataFrame({"col1": a2}, index=idx2) pd_df = df.to_pandas(retain_index=True) ak_df = ak.DataFrame(pd_df)
Retuns a KeyError: 0.
KeyError: 0
The text was updated successfully, but these errors were encountered:
There error is from line 901 in dataframe.py.
Sorry, something went wrong.
Resolves Bears-R-Us#3467
9c3ea1a
e559d2a
Resolves #3467 (#3429)
e14ff6a
Co-authored-by: Amanda Potts <ajpotts@users.noreply.github.com>
ajpotts
Successfully merging a pull request may close this issue.
To Reproduce
Retuns a
KeyError: 0
.The text was updated successfully, but these errors were encountered: