Skip to content
#

alignment

Here are 366 public repositories matching this topic...

rhshadrach
rhshadrach commented Sep 12, 2020

The following seems to happen on all transform groupby kernels:

df = DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
df.groupby([1, 1], axis=1).transform("shift")

results in ValueError: Length mismatch: Expected axis has 2 elements, new values have 3 elements.

I think the issue is in pandas.core.groupby.generic._wrap_transformed_output; this method does not take into account `s

Improve this page

Add a description, image, and links to the alignment topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the alignment topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.