Skip to content

Commit

Permalink
Merge pull request #6354 from noahnovsak/state-summary
Browse files Browse the repository at this point in the history
Omit call to Table.X in state_summary
  • Loading branch information
markotoplak authored Feb 27, 2023
2 parents 5330c9f + b596cb2 commit 43d70af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/utils/state_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def b(s):
return f"<b>{s}</b>"

features_missing = ""
if data.X.size < COMPUTE_NANS_LIMIT:
if len(data) * len(data.domain.attributes) < COMPUTE_NANS_LIMIT:
features_missing = missing_values(data.get_nan_frequency_attribute())
n_features = len(data.domain.variables) + len(data.domain.metas)
name = getattr(data, "name", None)
Expand Down

0 comments on commit 43d70af

Please sign in to comment.