biolab / orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis
https://orangedatamining.com
Other
4.81k stars 1k forks source link

File widget: read file without header #6788

Open alaindebecker opened 5 months ago

alaindebecker commented 5 months ago

What's your use case?

I have files with no header: the first row of my files are data, so the workaround suggested in https://github.com/biolab/orange3/issues/6675 (right click on the row index to skip it) does not work: the first row is lost forever.

What's your proposed solution? Add a number field Number of row for Header.

Are there any alternative solutions? Do it manually with an editor.

simonaubertbd commented 5 months ago

+1 very common use case and the proposed solution is the simplest one.

markotoplak commented 4 months ago

@alaindebecker, a related trick to #6675 should already work. In CSV File Import, right-click the row number and deselect header (instead of choosing to skip). Then, columns are just indexed.

janezd commented 4 months ago

Note to self: I was assigned to this to add a hint above the box, telling the user that headers are right-clickable.