Skip to content
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

File: allow selection of multiple variables to batch-select role #7008

Open
wvdvegte opened this issue Jan 29, 2025 · 2 comments
Open

File: allow selection of multiple variables to batch-select role #7008

wvdvegte opened this issue Jan 29, 2025 · 2 comments

Comments

@wvdvegte
Copy link

What's your use case?
Some data-file formats have placeholder columns for future variables to be added. For instance, the .FIT file format has dozens of these. You'd want to set them all to the role "skip" when importing the data in Orange. Currently this is only possible by selecting and changing them one by one, which is very time consuming.

What's your proposed solution?
Allow selection of multiple variables, and make it possible to change their role (and preferably also their type) through one single drop-down menu.

Are there any alternative solutions?
No.

@janezd
Copy link
Contributor

janezd commented Jan 29, 2025

I agree that this would be nice, but I start shaking every time that somebody says "selecting and changing multiple somethings somewhere". It is a nightmare to implement, and it also looks weird in terms of the GUI. do you select multiple rows, then click on the type of one of them and get a single combo which then affects the values in all rows?

It also doesn't fit into the existing GUI of the File widget, where a (single) click already opens the combo or starts editing. The only place where clicking doesn't trigger an event is a row number.

Couldn't you use Select Columns for this?

@wvdvegte
Copy link
Author

Yes of course, but that would be an extra widget.
Another possibility: I noticed that in the placeholder columns in this kind of files either (a) only have a header but no data (b) have no data and no header. Columns of type (b) are given a header 'Feature [n]' by Orange if they are followed by other columns with a header, and are (fortunately) ignored if they appear after the last column. Would it be a possibility to have an option 'skip all columns with no values' or at least 'skip all columns with no header and no values'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants