Skip to content

Commit

Permalink
owdatainfo: do not count unknowns for Dask data
Browse files Browse the repository at this point in the history
  • Loading branch information
markotoplak committed Nov 6, 2023
1 parent 215ef9b commit d871b13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Orange/widgets/data/owdatainfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
from Orange.data import \
Table, StringVariable, DiscreteVariable, ContinuousVariable

from Orange.data.dask import DaskTable

try:
from Orange.data.sql.table import SqlTable
except ImportError:
Expand Down Expand Up @@ -166,6 +168,8 @@ def _p_metas(cls, data):
def _p_missing(data: Table):
if is_sql(data):
return "(not checked for SQL data)"
if isinstance(data, DaskTable):
return "(not checked for on-disk data)"

counts = []
for name, part, n_miss in ((pl(len(data.domain.attributes), "feature"),
Expand Down

0 comments on commit d871b13

Please sign in to comment.