Skip to content
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

Bug in Pandas 1.3.0 block manager breaking TensorArray slicing operations #220

Open
frreiss opened this issue Jul 7, 2021 · 1 comment
Assignees

Comments

@frreiss
Copy link
Member

frreiss commented Jul 7, 2021

Due to some performance optimizations introduced in pandas-dev/pandas#40353, Pandas turns DataFrame.iloc[slice(x, y, z)] into __getitem__((..., slice(x, y, z)) on the ExtensionArray that backs any column defined with an extension type. This bug is breaking indexing on TensorArrays. TensorArray.__getitem__() receives the multidimensional slice spec and returns a 2D slice of the underlying NumPy array instead of the 1D slice that the caller expects to get.

@frreiss frreiss self-assigned this Jul 7, 2021
@frreiss
Copy link
Member Author

frreiss commented Jul 7, 2021

Opened pandas-dev/pandas#42430 to cover the root cause issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant