8000 BUG: describe not returning ArrowDtype by mroeschke · Pull Request #52470 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

BUG: describe not returning ArrowDtype #52470

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

Merged
merged 3 commits into from
Apr 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add GH issue
  • Loading branch information
mroeschke committed Apr 5, 2023
commit 760549a60f3afc823a00bdfdcb3a450ccfce8e8b
1 change: 1 addition & 0 deletions pandas/tests/extension/test_arrow.py
8CC8
Original file line number Diff line number Diff line change
Expand Up @@ -2391,6 +2391,7 @@ def test_setitem_boolean_replace_with_mask_segfault():

@pytest.mark.parametrize("pa_type", tm.ALL_INT_PYARROW_DTYPES + tm.FLOAT_PYARROW_DTYPES)
def test_describe_numeric_data(pa_type):
# GH 52470
data = pd.Series([1, 2, 3], dtype=ArrowDtype(pa_type))
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 add gh ref?

result = data.describe()
expected = pd.Series(
Expand Down
0