-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
BugExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.NA - MaskedArraysRelated to pd.NA and nullable extension arraysRelated to pd.NA and nullable extension arraysReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
df = pd.DataFrame({"A": pd.Series([1,2,3], dtype="Int64"), "B": pd.Series([1,2,3], dtype="int64")})
df.describe(include="int64")
A B
count 3.0 3.0
mean 2.0 2.0
std 1.0 1.0
min 1.0 1.0
25% 1.5 1.5
50% 2.0 2.0
75% 2.5 2.5
max 3.0 3.0
### Issue Description
Should only include ``B``, not both
### Expected Behavior
remove A from result
### Installed Versions
<details>
main
</details>
Metadata
Metadata
Assignees
Labels
BugExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.NA - MaskedArraysRelated to pd.NA and nullable extension arraysRelated to pd.NA and nullable extension arraysReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.