Data explorer throws error on summary calculation for columns with 100% missing data #4307
Labels
area: data explorer
Issues related to Data Explorer category.
bug
Something isn't working
lang: python
Milestone
System details:
Positron and OS details:
Positron Version: 2024.08.0 (Universal) build 24
Code - OSS Version: 1.91.0
Commit: d1012cc
Date: 2024-08-09T04:20:57.440Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0
Interpreter details:
Describe the issue:
I am seeing this with 100% NA columns + Pandas, not with Polars or R.
It will view and display fine, but when opening the Summary Panel for that column:
Steps to reproduce the issue:
In a Python script:
It will view just fine in the grid, but opening summary stats will throw a warning:
I can repro that independent of Data Explorer:
Expected or desired behavior:
Ignore NAs for summary calculations such as mean, sd, median, etc.
Were there any error messages in the UI, Output panel, or Developer Tools console?
The text was updated successfully, but these errors were encountered: