Select all rows in a column, including column name

It would be great to be able to select all data in a dataframe with a click on the column header(s). That way data can be copied to clipboard (ctl-c). Selecting by scrolling isn’t ideal, and there doesn’t seem to be a way to copy the column name.

Ctrl+A does this, more or less. Headers are not selected, but that also happens if you select with the mouse. There’s a list somewhere with the shorcuts available to st.dataframe but I cannot find it right now.


yes, but not just one column and not including the header, as you ask in the title. I didn’t realize that.

1 Like

@Goyo thanks, this is a decent hack!

Still, it’s not ideal because i) it doesn’t allow the user to select one column at a time, ii) it doesn’t include the column names.
I saw your edit after responding, you already caught this :slight_smile: