Skip to content

Conversation

@nour-taqatqa
Copy link

data = self._get_data_to_aggregate(numeric_only=numeric_only, name=how)

def array_func(values: ArrayLike) -> ArrayLike:
def array_func(values: ArrayLike) -> ArrayLike:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you undo the changes in this file?

#testing groupby.var() when called with pyarrow datatype

@pytest.mark.parametrize("with_na", [False, True])
def test_groupby_var_arrow_decimal(with_na):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Can you put this test in pandas/tests/extension/test_arrow.py?
  2. Can you just use the example in BUG: groupby.var() does not return arrow types with arrow backed series as input.  #54627 (comment)? You should be able to use tm.assert_frame_equal

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

Successfully merging this pull request may close these issues.

2 participants